projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
new testcase to verify that we have field sensitive alias analysis info. This
[oota-llvm.git]
/
test
/
Transforms
/
InstCombine
/
getelementptr_cast.ll
1
; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep 'getelementptr.*cast'
2
%G = external global [3 x sbyte]
3
4
implementation
5
6
ubyte *%foo(uint %Idx) {
7
%tmp = getelementptr ubyte* cast ([3 x sbyte]* %G to ubyte*), uint %Idx
8
ret ubyte* %tmp
9
}