aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/CodeGen/X86/limited-prec.ll8
1 files changed, 6 insertions, 2 deletions
diff --git a/test/CodeGen/X86/limited-prec.ll b/test/CodeGen/X86/limited-prec.ll
index ef9ddb7896..6afaea429b 100644
--- a/test/CodeGen/X86/limited-prec.ll
+++ b/test/CodeGen/X86/limited-prec.ll
@@ -1,5 +1,9 @@
-; ModuleID = '<stdin>'
-target triple = "i386-apple-darwin9.5"
+; RUN: llvm-as < %s | llc -limit-float-precision=6 -march=x86 | \
+; RUN: not grep exp | not grep log | not grep pow
+; RUN: llvm-as < %s | llc -limit-float-precision=12 -march=x86 | \
+; RUN: not grep exp | not grep log | not grep pow
+; RUN: llvm-as < %s | llc -limit-float-precision=18 -march=x86 | \
+; RUN: not grep exp | not grep log | not grep pow
define float @f1(float %x) nounwind noinline {
entry: