blob: a7ce79e2228c6e413a844fd36fe01f5adb257f49 [file] [log] [blame]
; RUN: llc -mtriple=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 }