Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / Misc / ffp-contract.c
blob0d26905d4ef2bfa2d5ee4738a2e63be0166f2ec4
1 // RUN: %clang_cc1 -O3 -ffp-contract=fast -triple=aarch64-apple-darwin \
2 // RUN: -S -o - %s | FileCheck --check-prefix=CHECK-FMADD %s
3 // REQUIRES: aarch64-registered-target
5 float fma_test1(float a, float b, float c) {
6 // CHECK-FMADD: fmadd
7 float x = a * b;
8 float y = x + c;
9 return y;