1 ; This testcase ensures that CFL AA gives conservative answers on variables
2 ; that involve arguments.
4 ; RUN: opt < %s -disable-basicaa -cfl-aa -aa-eval -print-may-aliases -disable-output 2>&1 | FileCheck %s
6 ; CHECK: Function: test
7 ; CHECK: 2 Total Alias Queries Performed
8 ; CHECK: 1 no alias responses
9 ; ^^ In @test2, %arg1 and %arg2 may alias
11 define void @test2(i32* %arg1, i32* %arg2) {
12 store i32 0, i32* %arg1
13 store i32 0, i32* %arg2
19 %a = alloca i32, align 4
20 %b = alloca i32, align 4
21 call void @test2(i32* %a, i32* %b)