]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/CodeGen/fast-math.c
Vendor import of clang trunk r321530:
[FreeBSD/FreeBSD.git] / test / CodeGen / fast-math.c
1 // RUN: %clang_cc1 -ffast-math -emit-llvm -o - %s | FileCheck %s
2 float f0, f1, f2;
3
4 void foo(void) {
5   // CHECK-LABEL: define {{.*}}void @foo()
6
7   // CHECK: fadd fast
8   f0 = f1 + f2;
9
10   // CHECK: ret
11 }