diff --git a/test/CodeGen/X86/limited-prec.ll b/test/CodeGen/X86/limited-prec.ll index ef9ddb78968..6afaea429b8 100644 --- a/test/CodeGen/X86/limited-prec.ll +++ b/test/CodeGen/X86/limited-prec.ll @@ -1,5 +1,9 @@ -; ModuleID = '' -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: