1 ; RUN: opt < %s -aa-pipeline=basic-aa -passes=aa-eval -print-all-alias-modref-info -disable-output 2>&1 | FileCheck %s
2 target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
3 target triple = "x86_64-unknown-linux-gnu"
5 @c = external global i32
8 ; CHECK: MayAlias: i32* %arrayidx, i32* %arrayidx6
10 %idxprom = zext i32 undef to i64
12 %idxprom5 = zext i32 %add4 to i64
13 %arrayidx6 = getelementptr inbounds i32, ptr @c, i64 %idxprom5
14 %arrayidx = getelementptr inbounds i32, ptr @c, i64 %idxprom
15 load i32, ptr %arrayidx
16 load i32, ptr %arrayidx6