1 ; RUN: opt < %s -basicaa -aa-eval -print-all-alias-modref-info -disable-output |& grep {9 no alias}
2 ; RUN: opt < %s -basicaa -aa-eval -print-all-alias-modref-info -disable-output |& grep {6 may alias}
3 ; RUN: opt < %s -basicaa -aa-eval -print-all-alias-modref-info -disable-output |& grep {MayAlias:.*i32\\* %Ipointer, i32\\* %Jpointer}
5 define void @foo(i32* noalias %p, i32* noalias %q, i32 %i, i32 %j) {
6 %Ipointer = getelementptr i32* %p, i32 %i
7 %qi = getelementptr i32* %q, i32 %i
8 %Jpointer = getelementptr i32* %p, i32 %j
9 %qj = getelementptr i32* %q, i32 %j
11 store i32 0, i32* %Ipointer
12 store i32 0, i32* %Jpointer