mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-31 16:02:52 +01:00
d200829a4f
versions of Bash. In addition, I can back out the change to the lit built-in shell test runner to support this. This should fix the majority of fallout on Darwin, but I suspect there will be a few straggling issues. llvm-svn: 159544
14 lines
324 B
LLVM
14 lines
324 B
LLVM
; RUN: opt < %s -basicaa -aa-eval -print-all-alias-modref-info -disable-output 2>&1 | 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)
|