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