mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
e81cd881b1
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45649 91177308-0d34-0410-b5e6-96231b3b80d8
11 lines
321 B
LLVM
11 lines
321 B
LLVM
; RUN: llvm-as %s -o - | opt -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
|
|
}
|