repo.or.cz
/
llvm
/
stm8.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
A8.6.92 MCR (Encoding A1): if coproc == '101x' then SEE "Advanced SIMD and VFP"
[llvm/stm8.git]
/
test
/
Analysis
/
BasicAA
/
2009-03-04-GEPNoalias.ll
blob
3ab5d03ca8c4fb85aca2886a878c33f246d8358f
1
; RUN: opt < %s -basicaa -gvn -S | grep load
2
3
declare noalias i32* @noalias()
4
5
define i32 @test(i32 %x) {
6
%a = call i32* @noalias()
7
store i32 1, i32* %a
8
%b = getelementptr i32* %a, i32 %x
9
store i32 2, i32* %b
10
11
%c = load i32* %a
12
ret i32 %c
13
}