1 ; RUN: opt < %s -cfl-aa -aa-eval -print-all-alias-modref-info -disable-output 2>&1 | FileCheck %s
2 ; Derived from (a subset of) BasicAA/phi-and-select.ll
5 ; CHECK: NoAlias: double* %a, double* %b
6 ; CHECK: ===== Alias Analysis Evaluator Report =====
8 ; Two PHIs with disjoint sets of inputs.
9 define void @qux(i1 %m, double* noalias %x, double* noalias %y,
10 i1 %n, double* noalias %v, double* noalias %w) {
12 br i1 %m, label %true, label %false
21 %a = phi double* [ %x, %true ], [ %y, %false ]
22 br i1 %n, label %ntrue, label %nfalse
31 %b = phi double* [ %v, %ntrue ], [ %w, %nfalse ]
32 store volatile double 0.0, double* %a
33 store volatile double 1.0, double* %b