repo.or.cz
/
llvm
/
avr.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Change tests from "opt %s" to "opt < %s" so that opt doesn't see the
[llvm/avr.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
}