Add a test case to check handling of dbg-declare by fast-isel.
[oota-llvm.git] / test / CodeGen / X86 / 2008-07-11-SpillerBug.ll
index d7a4892a504e87115583478493f8716fb465528e..d0023b28c6dd25a95994157fc6bf254fa9bbe032 100644 (file)
@@ -1,9 +1,9 @@
-; RUN: llvm-as < %s | llc -march=x86 -relocation-model=static -disable-fp-elim | FileCheck %s
+; RUN: llc < %s -march=x86 -relocation-model=static -disable-fp-elim -post-RA-scheduler=false -asm-verbose=0 | FileCheck %s
 ; PR2536
 
-
-; CHECK: movw %ax
-; CHECK-NEXT: andl    $65534, %
+; CHECK: andl    $65534, %
+; CHECK-NEXT: movl %
+; CHECK-NEXT: movzwl
 ; CHECK-NEXT: movl $17
 
 @g_5 = external global i16             ; <i16*> [#uses=2]