projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Fix a problem where the TwoAddressInstructionPass which generate redundant register...
[oota-llvm.git]
/
test
/
CodeGen
/
X86
/
compare-add.ll
1
; RUN: llc < %s -march=x86 | not grep add
2
3
define i1 @X(i32 %X) {
4
%Y = add i32 %X, 14 ; <i32> [#uses=1]
5
%Z = icmp ne i32 %Y, 12345 ; <i1> [#uses=1]
6
ret i1 %Z
7
}
8