eliminate some uses of prcontext. Any help here would be appreciated :)
[oota-llvm.git] / test / CodeGen / X86 / 2008-07-11-SpillerBug.ll
index 1d946388650199def85c1d3efe67c4c7d3a6dbf9..d7a4892a504e87115583478493f8716fb465528e 100644 (file)
@@ -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]