projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
New testcase that instcombine should help out with.
[oota-llvm.git]
/
test
/
Transforms
/
InstCombine
/
GEPIdxCanon.ll
1
; RUN: llvm-as < %s | opt -instcombine -gcse -instcombine | llvm-dis | not grep getelementptr
2
3
bool %test(int* %A) {
4
%B = getelementptr int* %A, int 1
5
%C = getelementptr int* %A, uint 1
6
%V = seteq int* %B, %C
7
ret bool %V
8
}