1 ; Ensures that our struct ops are sane. 2 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 5 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. 9 ; XFAIL: * 10 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 17 ret void 18 } 19