1 ; Ensures that our struct ops are sane.
3 ; RUN: opt < %s -disable-basicaa -cfl-anders-aa -aa-eval -print-all-alias-modref-info -disable-output 2>&1 | FileCheck %s
4 ; RUN: opt < %s -aa-pipeline=cfl-anders-aa -passes=aa-eval -print-all-alias-modref-info -disable-output 2>&1 | FileCheck %s
6 ; Since we ignore non-pointer values, we effectively ignore extractvalue
7 ; instructions. This means that %c "doesn't exist" in test_structure's graph,
8 ; so we currently get MayAlias.
11 ; CHECK-LABEL: Function: test_structure
12 ; CHECK: NoAlias: i64** %c, { i64**, i64** }* %a
13 define void @test_structure() {
14 %a = alloca {i64**, i64**}, align 8
15 %b = load {i64**, i64**}, {i64**, i64**}* %a
16 %c = extractvalue {i64**, i64**} %b, 0