• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llvm-as < %s | llvm-dis | FileCheck %s
2; RUN: verify-uselistorder < %s
3
4; Function Attrs: nounwind
5define void @_Z4testPiPf(i32* nocapture %pI, float* nocapture %pF) #0 {
6entry:
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:!.*]]
11  ret void
12}
13
14attributes #0 = { nounwind "less-precise-fpmad"="false" "no-frame-pointer-elim"="false" "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" }
15
16!0 = !{!"omnipotent char", !1}
17!1 = !{!"Simple C/C++ TBAA"}
18!2 = !{!"float", !0}
19
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]]}
25