Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / CodeGen / fast-math.c
blob6ebd65a22c92be4b6961572bc5c812de2d64c41e
1 // RUN: %clang_cc1 -ffast-math -ffp-contract=fast -emit-llvm -o - %s | FileCheck %s
2 float f0, f1, f2;
4 void foo(void) {
5 // CHECK-LABEL: define {{.*}}void @foo()
7 // CHECK: fadd fast
8 f0 = f1 + f2;
10 // CHECK: ret