1; RUN: llc -march=hexagon < %s | FileCheck %s
2
3; Check that intrinsic int_hexagon_Y2_dcfetch is mapped to Y2_dcfetchbo
4; (not Y2_dcfetch).
5
6; CHECK: dcfetch(r0+#0)
7
8target triple = "hexagon"
9
10define void @fred(i8* %a0) #0 {
11  call void @llvm.hexagon.Y2.dcfetch(i8* %a0)
12  ret void
13}
14
15declare void @llvm.hexagon.Y2.dcfetch(i8*) #0
16
17attributes #0 = { nounwind }
18
19