OSDN Git Service

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 ef9ddb7..6afaea4 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: