Now with RUN line.
authorBill Wendling <isanbard@gmail.com>
Wed, 21 Jan 2009 21:28:03 +0000 (21:28 +0000)
committerBill Wendling <isanbard@gmail.com>
Wed, 21 Jan 2009 21:28:03 +0000 (21:28 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62716 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/X86/limited-prec.ll

index ef9ddb789681617c7b8b92aecce42da84d72c3c9..6afaea429b867fd5dd93f8cf0567682498e96b3e 100644 (file)
@@ -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: