aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/2008-07-11-SpillerBug.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/X86/2008-07-11-SpillerBug.ll')
-rw-r--r--test/CodeGen/X86/2008-07-11-SpillerBug.ll8
1 files changed, 6 insertions, 2 deletions
diff --git a/test/CodeGen/X86/2008-07-11-SpillerBug.ll b/test/CodeGen/X86/2008-07-11-SpillerBug.ll
index 1d94638..d7a4892 100644
--- a/test/CodeGen/X86/2008-07-11-SpillerBug.ll
+++ b/test/CodeGen/X86/2008-07-11-SpillerBug.ll
@@ -1,7 +1,11 @@
-; RUN: llvm-as < %s | llc -march=x86 -relocation-model=static -disable-fp-elim |\
-; RUN: %prcontext 65534 1 | grep movl | count 1
+; RUN: llvm-as < %s | llc -march=x86 -relocation-model=static -disable-fp-elim | FileCheck %s
; PR2536
+
+; CHECK: movw %ax
+; CHECK-NEXT: andl $65534, %
+; CHECK-NEXT: movl $17
+
@g_5 = external global i16 ; <i16*> [#uses=2]
@g_107 = external global i16 ; <i16*> [#uses=1]
@g_229 = external global i32 ; <i32*> [#uses=1]