From 708f5a8fb67958a51040bcb136deee3f877fa4cf Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Wed, 21 Jan 2009 21:28:03 +0000 Subject: [PATCH] Now with RUN line. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62716 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/X86/limited-prec.ll | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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: