1 ; RUN: opt < %s -basicaa -aa-eval -print-all-alias-modref-info -disable-output 2>&1 | FileCheck %s
3 target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
6 ; CHECK: MayAlias: i32* %Ipointer, i32* %Jpointer
7 ; CHECK: 9 no alias responses
8 ; CHECK: 6 may alias responses
10 define void @foo(i32* noalias %p, i32* noalias %q, i32 %i, i32 %j) {
11 %Ipointer = getelementptr i32, i32* %p, i32 %i
12 %qi = getelementptr i32, i32* %q, i32 %i
13 %Jpointer = getelementptr i32, i32* %p, i32 %j
14 %qj = getelementptr i32, i32* %q, i32 %j
16 store i32 0, i32* %Ipointer
17 store i32 0, i32* %Jpointer