2012-12-04 04:36:06 +04:00
|
|
|
// RUN: %clang_cc1 -ffast-math -emit-llvm -o - %s | FileCheck %s
|
2012-12-10 22:48:08 +04:00
|
|
|
float f0, f1, f2;
|
2012-12-04 04:36:06 +04:00
|
|
|
|
|
|
|
void foo(void) {
|
|
|
|
// CHECK: define void @foo()
|
|
|
|
|
|
|
|
// CHECK: fadd fast
|
|
|
|
f0 = f1 + f2;
|
|
|
|
|
|
|
|
// CHECK: ret
|
|
|
|
}
|