arguments.ll 432 B

123456789101112131415
  1. ; This testcase ensures that CFL AA gives conservative answers on variables
  2. ; that involve arguments.
  3. ; RUN: opt < %s -cfl-aa -aa-eval -print-may-aliases -disable-output 2>&1 | FileCheck %s
  4. ; CHECK: Function: test
  5. define void @test(i1 %c, i32* %arg1, i32* %arg2) {
  6. ; CHECK: 6 Total Alias Queries Performed
  7. ; CHECK: 3 no alias responses
  8. %a = alloca i32, align 4
  9. %b = select i1 %c, i32* %arg1, i32* %arg2
  10. ret void
  11. }