brintos

brintos / llvm-project-archived public Read only

0
0
Text · 386 B · e12e4a1 Raw
14 lines · plain
1; RUN: opt -aa-pipeline=basic-aa,tbaa -passes='print<memoryssa><no-ensure-optimized-uses>' -disable-output < %s 2>&1 | FileCheck %s2 3define i8 @test1_yes(ptr %a, ptr %b) {4; CHECK: 1 = MemoryDef(liveOnEntry)5  store i8 0, ptr %a, align 16; CHECK: MemoryUse(liveOnEntry)7  %y = load i8, ptr %b, align 1, !tbaa !08  ret i8 %y9}10 11!0 = !{!1, !1, i64 0, i1 true}12!1 = !{!"qux", !2}13!2 = !{}14