summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/inline-asm-flag-clobber.ll
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-09-05 11:35:16 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-09-05 11:35:16 +0000
commit31ab6e3364c69a8d07d8e80bd4673d5f8a56a122 (patch)
tree4aec8e97728b70d2691bd6ca9973ebf204e12774 /test/CodeGen/X86/inline-asm-flag-clobber.ll
parent8c042c2337948e5a6051f34a2d6263fe19737e14 (diff)
downloadllvm-31ab6e3364c69a8d07d8e80bd4673d5f8a56a122.tar.gz
llvm-31ab6e3364c69a8d07d8e80bd4673d5f8a56a122.tar.bz2
llvm-31ab6e3364c69a8d07d8e80bd4673d5f8a56a122.tar.xz
Eliminate uses of %prcontext.
- I'd appreciate it if someone else eyeballs my changes to make sure I captured the intent of the test. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81083 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/inline-asm-flag-clobber.ll')
-rw-r--r--test/CodeGen/X86/inline-asm-flag-clobber.ll4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/CodeGen/X86/inline-asm-flag-clobber.ll b/test/CodeGen/X86/inline-asm-flag-clobber.ll
index 3c536b716f..51ea843712 100644
--- a/test/CodeGen/X86/inline-asm-flag-clobber.ll
+++ b/test/CodeGen/X86/inline-asm-flag-clobber.ll
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | llc -march=x86-64 | %prcontext test 1 | grep j
+; RUN: llc -march=x86-64 < %s | FileCheck %s
; PR3701
define i64 @t(i64* %arg) nounwind {
@@ -7,6 +7,8 @@ define i64 @t(i64* %arg) nounwind {
; <label>:1 ; preds = %0
%2 = icmp eq i64* null, %arg ; <i1> [#uses=1]
%3 = tail call i64* asm sideeffect "movl %fs:0,$0", "=r,~{dirflag},~{fpsr},~{flags}"() nounwind ; <%struct.thread*> [#uses=0]
+; CHECK: test
+; CHECK-NEXT: j
br i1 %2, label %4, label %5
; <label>:4 ; preds = %1