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