mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-01 00:33:09 +00:00
d5cc8b81ca
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155432 91177308-0d34-0410-b5e6-96231b3b80d8
14 lines
320 B
LLVM
14 lines
320 B
LLVM
; RUN: opt < %s -basicaa -aa-eval -print-all-alias-modref-info -disable-output |& FileCheck %s
|
|
|
|
; CHECK: Function: foo
|
|
; CHECK: MayAlias: i32* %x, i32* %y
|
|
|
|
define void @foo(i32* noalias %x) {
|
|
%y = call i32* @unclear(i32* %x)
|
|
store i32 0, i32* %x
|
|
store i32 0, i32* %y
|
|
ret void
|
|
}
|
|
|
|
declare i32* @unclear(i32* %a)
|