brintos

brintos / llvm-project-archived public Read only

0
0
Text · 552 B · 4e0b3f3 Raw
25 lines · plain
1; RUN: llc -mtriple=hexagon -O2 < %s | FileCheck %s2; CHECK: dcfetch(3 4target triple = "hexagon"5 6; Function Attrs: nounwind7define i32 @f0() #0 {8b0:9  %v0 = alloca i32, align 410  store i32 0, ptr %v0, align 4, !tbaa !011  call void @llvm.hexagon.prefetch(ptr %v0)12  ret i32 013}14 15; Function Attrs: nounwind16declare void @llvm.hexagon.prefetch(ptr) #117 18attributes #0 = { nounwind "target-cpu"="hexagonv60" }19attributes #1 = { nounwind }20 21!0 = !{!1, !1, i64 0}22!1 = !{!"int", !2, i64 0}23!2 = !{!"omnipotent char", !3, i64 0}24!3 = !{!"Simple C/C++ TBAA"}25