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