aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/limited-prec.ll
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2009-01-21 21:28:03 +0000
committerBill Wendling <isanbard@gmail.com>2009-01-21 21:28:03 +0000
commit708f5a8fb67958a51040bcb136deee3f877fa4cf (patch)
treeaafdcb16c1c83d1baf54c8af2a8d2b2624bbe2a0 /test/CodeGen/X86/limited-prec.ll
parente3b014a05f5587dfee7194c23d8be6ddb3160315 (diff)
downloadexternal_llvm-708f5a8fb67958a51040bcb136deee3f877fa4cf.zip
external_llvm-708f5a8fb67958a51040bcb136deee3f877fa4cf.tar.gz
external_llvm-708f5a8fb67958a51040bcb136deee3f877fa4cf.tar.bz2
Now with RUN line.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62716 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/limited-prec.ll')
-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 ef9ddb7..6afaea4 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: