mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-01 16:33:37 +01:00
142428ce64
llvm-svn: 81293
11 lines
308 B
LLVM
11 lines
308 B
LLVM
; RUN: opt < %s -basicaa -aa-eval -print-all-alias-modref-info -disable-output |& grep {MayAlias:.*i32\\* %., i32\\* %.} | grep {%x} | grep {%y}
|
|
|
|
declare i32* @unclear(i32* %a)
|
|
|
|
define void @foo(i32* noalias %x) {
|
|
%y = call i32* @unclear(i32* %x)
|
|
store i32 0, i32* %x
|
|
store i32 0, i32* %y
|
|
ret void
|
|
}
|