repo.or.cz
/
llvm-complete.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[MIParser] Set RegClassOrRegBank during instruction parsing
[llvm-complete.git]
/
test
/
Transforms
/
SCCP
/
2002-08-30-GetElementPtrTest.ll
blob
7b88a669ffba8ccbf17ee3e01df9e9991d6e20b5
1
; RUN: opt < %s -sccp -S | not grep %X
2
3
@G = external global [40 x i32] ; <[40 x i32]*> [#uses=1]
4
5
define i32* @test() {
6
%X = getelementptr [40 x i32], [40 x i32]* @G, i64 0, i64 0 ; <i32*> [#uses=1]
7
ret i32* %X
8
}
9