Revert 93158. It's breaking quite a few x86_64 tests.
[oota-llvm.git] / test / CodeGen / X86 / remat-mov-0.ll
1 ; RUN: llc < %s -march=x86-64 | grep {xorl      %edi, %edi} | count 4
2 ; XFAIL: *
3
4 ; CodeGen should remat the zero instead of spilling it.
5
6 declare void @foo(i64 %p)
7
8 define void @bar() nounwind {
9   call void @foo(i64 0)
10   call void @foo(i64 0)
11   call void @foo(i64 0)
12   call void @foo(i64 0)
13   ret void
14 }