1 ; RUN: llvm-as < %s | llvm-dis | FileCheck %s
2 ; RUN: verify-uselistorder < %s
4 ; Function Attrs: nounwind
5 define void @_Z4testPiPf(i32* nocapture %pI, float* nocapture %pF) #0 {
7 store i32 0, i32* %pI, align 4, !tbaa !{!"int", !0}
8 ; CHECK: store i32 0, i32* %pI, align 4, !tbaa [[TAG_INT:!.*]]
9 store float 1.000000e+00, float* %pF, align 4, !tbaa !2
10 ; CHECK: store float 1.000000e+00, float* %pF, align 4, !tbaa [[TAG_FLOAT:!.*]]
14 attributes #0 = { nounwind "less-precise-fpmad"="false" "frame-pointer"="none" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "no-realign-stack" "stack-protector-buffer-size"="8" "unsafe-fp-math"="false" "use-soft-float"="false" }
16 !0 = !{!"omnipotent char", !1}
17 !1 = !{!"Simple C/C++ TBAA"}
20 ; CHECK: [[TAG_INT]] = !{[[TYPE_INT:!.*]], [[TYPE_INT]], i64 0}
21 ; CHECK: [[TYPE_INT]] = !{!"int", [[TYPE_CHAR:!.*]]}
22 ; CHECK: [[TYPE_CHAR]] = !{!"omnipotent char", !{{.*}}
23 ; CHECK: [[TAG_FLOAT]] = !{[[TYPE_FLOAT:!.*]], [[TYPE_FLOAT]], i64 0}
24 ; CHECK: [[TYPE_FLOAT]] = !{!"float", [[TYPE_CHAR]]}