projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Pointer arithmetic should be done with the index the same size as the pointer.
[oota-llvm.git]
/
test
/
CodeGen
/
X86
/
compare-add.ll
1
; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 | not grep add
2
bool %X(int %X) {
3
%Y = add int %X, 14
4
%Z = setne int %Y, 12345
5
ret bool %Z
6
}
7