1 ; RUN: llc -march=hexagon -O2 < %s
3 ; Expect successful compilation.
5 target triple = "hexagon"
7 ; Function Attrs: nounwind optsize
8 define void @f0(ptr nocapture %a0, ptr %a1) #0 {
10 call void @llvm.hexagon.prefetch(ptr %a1)
11 store i32 0, ptr %a0, align 4, !tbaa !0
15 ; Function Attrs: nounwind
16 declare void @llvm.hexagon.prefetch(ptr) #1
18 attributes #0 = { nounwind optsize "target-cpu"="hexagonv55" }
19 attributes #1 = { nounwind }
22 !1 = !{!"int", !2, i64 0}
23 !2 = !{!"omnipotent char", !3, i64 0}
24 !3 = !{!"Simple C/C++ TBAA"}