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
[libclc] Optimize ceil/fabs/floor/rint/trunc (#119596)
[llvm-project.git]
/
llvm
/
test
/
Analysis
/
BasicAA
/
2008-11-23-NoaliasRet.ll
blob
5838bd46724ebfdcfe7de4f2300ebf0f3bf29092
1
; RUN: opt < %s -aa-pipeline=basic-aa -passes=aa-eval -disable-output 2>&1 | FileCheck %s
2
3
declare noalias ptr @_Znwj(i32 %x) nounwind
4
5
; CHECK: 1 no alias response
6
7
define i32 @foo() {
8
%A = call ptr @_Znwj(i32 4)
9
%B = call ptr @_Znwj(i32 4)
10
store i32 1, ptr %A
11
store i32 2, ptr %B
12
%C = load i32, ptr %A
13
ret i32 %C
14
}