mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-15 20:06:46 +00:00
f1b4d26e67
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93229 91177308-0d34-0410-b5e6-96231b3b80d8
14 lines
289 B
LLVM
14 lines
289 B
LLVM
; RUN: llc < %s -march=x86-64 | grep {xorl %edi, %edi} | count 4
|
|
|
|
; 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
|
|
}
|