Stackmap shadows should consider call returns a branch target.
[oota-llvm.git] / test / CodeGen / X86 / fast-isel-mem.ll
index 52b1e8564338e5075470e8dc9dd02b357ef00cd0..eca1ae9f02a3998b475ba90d574b0f6bf1227d2f 100644 (file)
@@ -12,7 +12,7 @@ entry:
         store i32 %2, i32* @src
        ret i32 %2
 ; This should fold one of the loads into the add.
-; CHECK: loadgv:
+; CHECK-LABEL: loadgv:
 ; CHECK:       movl    L_src$non_lazy_ptr, %ecx
 ; CHECK:       movl    (%ecx), %eax
 ; CHECK:       addl    (%ecx), %eax
@@ -36,11 +36,11 @@ entry:
        store i32 (...)** getelementptr ([4 x i32 (...)*]* @LotsStuff, i32 0, i32 2), i32 (...)*** null, align 4
        ret void
 ; CHECK: _t:
-; CHECK:       movl    $0, %eax
+; CHECK:       xorl    %eax, %eax
 ; CHECK:       movl    L_LotsStuff$non_lazy_ptr, %ecx
 
 ; ATOM: _t:
-; ATOM:         movl    L_LotsStuff$non_lazy_ptr, %ecx
-; ATOM:         movl    $0, %eax
+; ATOM:         movl    L_LotsStuff$non_lazy_ptr, %e{{..}}
+; ATOM:         xorl    %e{{..}}, %e{{..}}
 
 }