diff options
Diffstat (limited to 'test/CodeGen/finite-math.c')
-rw-r--r-- | test/CodeGen/finite-math.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/CodeGen/finite-math.c b/test/CodeGen/finite-math.c index 90a83fa30958d..d1a2956b69feb 100644 --- a/test/CodeGen/finite-math.c +++ b/test/CodeGen/finite-math.c @@ -1,6 +1,7 @@ // RUN: %clang_cc1 -ffinite-math-only -emit-llvm -o - %s | FileCheck %s -check-prefix=CHECK -check-prefix=FINITE // RUN: %clang_cc1 -fno-signed-zeros -emit-llvm -o - %s | FileCheck %s -check-prefix=CHECK -check-prefix=NSZ // RUN: %clang_cc1 -freciprocal-math -emit-llvm -o - %s | FileCheck %s -check-prefix=CHECK -check-prefix=RECIP +// RUN: %clang_cc1 -mreassociate -emit-llvm -o - %s | FileCheck %s -check-prefix=CHECK -check-prefix=REASSOC float f0, f1, f2; @@ -10,6 +11,7 @@ void foo(void) { // FINITE: fadd nnan ninf // NSZ: fadd nsz // RECIP: fadd arcp + // REASSOC: fadd reassoc f0 = f1 + f2; // CHECK: ret |