summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/2008-02-20-InlineAsmClobber.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/X86/2008-02-20-InlineAsmClobber.ll')
-rw-r--r--test/CodeGen/X86/2008-02-20-InlineAsmClobber.ll10
1 files changed, 8 insertions, 2 deletions
diff --git a/test/CodeGen/X86/2008-02-20-InlineAsmClobber.ll b/test/CodeGen/X86/2008-02-20-InlineAsmClobber.ll
index a52b365..b06b249 100644
--- a/test/CodeGen/X86/2008-02-20-InlineAsmClobber.ll
+++ b/test/CodeGen/X86/2008-02-20-InlineAsmClobber.ll
@@ -1,5 +1,4 @@
-; RUN: llc < %s | grep "a:" | not grep ax
-; RUN: llc < %s | grep "b:" | not grep ax
+; RUN: llc < %s | FileCheck %s
; PR2078
; The clobber list says that "ax" is clobbered. Make sure that eax isn't
; allocated to the input/output register.
@@ -15,6 +14,10 @@ entry:
ret void
}
+; CHECK: a:
+; CHECK-NOT: ax
+; CHECK: {{$}}
+
define void @test2(i16* %block, i8* %pixels, i32 %line_size) nounwind {
entry:
%tmp1 = getelementptr i16* %block, i32 64 ; <i16*> [#uses=1]
@@ -22,3 +25,6 @@ entry:
ret void
}
+; CHECK: b:
+; CHECK-NOT: ax
+; CHECK: {{$}}