mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-21 12:02:58 +02:00
bc84a42d7b
llvm-svn: 93185
15 lines
300 B
LLVM
15 lines
300 B
LLVM
; RUN: llc < %s -march=x86-64 | grep {xorl %edi, %edi} | count 4
|
|
; XFAIL: *
|
|
|
|
; CodeGen should remat the zero instead of spilling it.
|
|
|
|
declare void @foo(i64 %p)
|
|
|
|
define void @bar() nounwind {
|
|
call void @foo(i64 0)
|
|
call void @foo(i64 0)
|
|
call void @foo(i64 0)
|
|
call void @foo(i64 0)
|
|
ret void
|
|
}
|