1 ; This testcase ensures that CFL AA won't be too conservative when trying to do
2 ; interprocedural analysis on simple callee
4 ; RUN: opt < %s -disable-basicaa -cfl-anders-aa -aa-eval -print-all-alias-modref-info -disable-output 2>&1 | FileCheck %s
5 ; RUN: opt < %s -aa-pipeline=cfl-anders-aa -passes=aa-eval -print-all-alias-modref-info -disable-output 2>&1 | FileCheck %s
7 ; CHECK-LABEL: Function: noop_callee
8 ; CHECK: MayAlias: i32* %arg1, i32* %arg2
9 define void @noop_callee(i32* %arg1, i32* %arg2) {
10 store i32 0, i32* %arg1
11 store i32 0, i32* %arg2
14 ; CHECK-LABEL: Function: test_noop
15 ; CHECK: NoAlias: i32* %a, i32* %b
16 define void @test_noop() {
17 %a = alloca i32, align 4
18 %b = alloca i32, align 4
19 call void @noop_callee(i32* %a, i32* %b)