Revert r84658 and r84691. They were causing llvm-gcc bootstrap to fail.
[oota-llvm.git] / test / CodeGen / X86 / 2008-07-11-SpillerBug.ll
index 1d946388650199def85c1d3efe67c4c7d3a6dbf9..88a5fde07e1e7016d01820cf1de25ee0faeeeb32 100644 (file)
@@ -1,7 +1,12 @@
-; RUN: llvm-as < %s | llc -march=x86 -relocation-model=static -disable-fp-elim |\
-; RUN:   %prcontext 65534 1 | grep movl | count 1
+; RUN: llc < %s -march=x86 -relocation-model=static -disable-fp-elim -post-RA-scheduler=false | FileCheck %s
 ; PR2536
 
+
+; CHECK: movw %cx
+; CHECK-NEXT: andl    $65534, %
+; CHECK-NEXT: movl %
+; 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]