1 ; RUN: opt -tbaa -sink -S < %s | FileCheck %s
4 ; CHECK: %f = load float* %p, !tbaa !2
5 ; CHECK: store float %f, float* %q
7 define void @foo(float* %p, i1 %c, float* %q, float* %r) {
8 %f = load float* %p, !tbaa !0
9 store float 0.0, float* %r, !tbaa !1
10 br i1 %c, label %a, label %b
12 store float %f, float* %q
18 !0 = metadata !{metadata !"A", metadata !2}
19 !1 = metadata !{metadata !"B", metadata !2}
20 !2 = metadata !{metadata !"test"}