Convert another llc -filetype=obj test.
[oota-llvm.git] / test / CodeGen / X86 / fold-load.ll
index d8366654c01ce56e0e6a8a22ae8326b294f0eee9..dde0a2d1c5d399b0f5bc0a4161eb3a1886855c15 100644 (file)
@@ -38,21 +38,21 @@ L:
 
   store i16 %A, i16* %Q
   ret i32 %D
-  
-; CHECK: test2:
+
+; CHECK-LABEL: test2:
 ; CHECK:       movl    4(%esp), %eax
-; CHECK-NEXT:  movzwl  (%eax), %ecx
+; CHECK-NEXT:  movzwl  (%eax), %e{{..}}
 
 }
 
 ; rdar://10554090
 ; xor in exit block will be CSE'ed and load will be folded to xor in entry.
 define i1 @test3(i32* %P, i32* %Q) nounwind {
-; CHECK: test3:
-; CHECK: movl 8(%esp), %eax
-; CHECK: xorl (%eax),
+; CHECK-LABEL: test3:
+; CHECK: movl 8(%esp), %e
+; CHECK: movl 4(%esp), %e
+; CHECK: xorl (%e
 ; CHECK: j
-; CHECK-NOT: xor
 entry:
   %0 = load i32* %P, align 4
   %1 = load i32* %Q, align 4