summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/finite-math.c
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/CodeGen/finite-math.c')
-rw-r--r--clang/test/CodeGen/finite-math.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/test/CodeGen/finite-math.c b/clang/test/CodeGen/finite-math.c
index fd8fcf6fad1..8365b56fe56 100644
--- a/clang/test/CodeGen/finite-math.c
+++ b/clang/test/CodeGen/finite-math.c
@@ -1,5 +1,6 @@
// 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
float f0, f1, f2;
@@ -8,6 +9,7 @@ void foo(void) {
// FINITE: fadd nnan ninf
// NSZ: fadd nsz
+ // RECIP: fadd arcp
f0 = f1 + f2;
// CHECK: ret
OpenPOWER on IntegriCloud