summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/fast-isel-mem.ll
diff options
context:
space:
mode:
authorJuergen Ributzka <juergen@apple.com>2014-08-19 19:44:10 +0000
committerJuergen Ributzka <juergen@apple.com>2014-08-19 19:44:10 +0000
commit89d187b387e3c0dd3692373167e27db639f83098 (patch)
tree876cb6a5bc40c6da88ebc9b9ff07f73fe73a9ea0 /llvm/test/CodeGen/X86/fast-isel-mem.ll
parent4952c35afd2c4b01e7245d651c3ebdc81e4f07a4 (diff)
downloadbcm5719-llvm-89d187b387e3c0dd3692373167e27db639f83098.tar.gz
bcm5719-llvm-89d187b387e3c0dd3692373167e27db639f83098.zip
Reapply [FastISel][X86] Use XOR to materialize the "0" value (r215594).
Note: This was originally reverted to track down a buildbot error. Reapply without any modifications. llvm-svn: 216011
Diffstat (limited to 'llvm/test/CodeGen/X86/fast-isel-mem.ll')
-rw-r--r--llvm/test/CodeGen/X86/fast-isel-mem.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/X86/fast-isel-mem.ll b/llvm/test/CodeGen/X86/fast-isel-mem.ll
index cd2dc1d02c8..eca1ae9f02a 100644
--- a/llvm/test/CodeGen/X86/fast-isel-mem.ll
+++ b/llvm/test/CodeGen/X86/fast-isel-mem.ll
@@ -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, %e{{..}}
-; ATOM: movl $0, %e{{..}}
+; ATOM: xorl %e{{..}}, %e{{..}}
}
OpenPOWER on IntegriCloud