repo.or.cz
/
llvm-core.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[ARM] Better OR's for MVE compares
[llvm-core.git]
/
test
/
Analysis
/
BasicAA
/
2008-11-23-NoaliasRet.ll
blob
49a742c31f588e9e6bccc8a70e1be1f4f2407e77
1
; RUN: opt < %s -basicaa -aa-eval -disable-output 2>&1 | FileCheck %s
2
3
declare noalias i32* @_Znwj(i32 %x) nounwind
4
5
; CHECK: 1 no alias response
6
7
define i32 @foo() {
8
%A = call i32* @_Znwj(i32 4)
9
%B = call i32* @_Znwj(i32 4)
10
store i32 1, i32* %A
11
store i32 2, i32* %B
12
%C = load i32, i32* %A
13
ret i32 %C
14
}