projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Re-instate MOV64r0 and MOV16r0, with adjustments to work with the
[oota-llvm.git]
/
test
/
CodeGen
/
X86
/
remat-mov-0.ll
1
; RUN: llc < %s -march=x86-64 | grep {xorl %edi, %edi} | count 4
2
3
; CodeGen should remat the zero instead of spilling it.
4
5
declare void @foo(i64 %p)
6
7
define void @bar() nounwind {
8
call void @foo(i64 0)
9
call void @foo(i64 0)
10
call void @foo(i64 0)
11
call void @foo(i64 0)
12
ret void
13
}