1; This testcase consists of alias relations which should be completely 2; resolvable by cfl-aa, but require analysis of getelementptr constant exprs. 3; Derived from BasicAA/2003-12-11-ConstExprGEP.ll 4 5; RUN: opt < %s -cfl-aa -aa-eval -print-may-aliases -disable-output 2>&1 | FileCheck %s 6 7%T = type { i32, [10 x i8] } 8 9@G = external global %T 10 11; CHECK: Function: test 12; CHECK-NOT: May: 13 14define void @test() { 15 %D = getelementptr %T* @G, i64 0, i32 0 16 %E = getelementptr %T* @G, i64 0, i32 1, i64 5 17 %F = getelementptr i32* getelementptr (%T* @G, i64 0, i32 0), i64 0 18 %X = getelementptr [10 x i8]* getelementptr (%T* @G, i64 0, i32 1), i64 0, i64 5 19 20 ret void 21} 22