• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llc -march=hexagon -O0 < %s | FileCheck %s
2; RUN: llc -march=hexagon -O0 < %s | FileCheck -check-prefix=CHECK-CALL %s
3; Hexagon Programmer's Reference Manual 11.9.1 SYSTEM/USER
4
5; CHECK-CALL-NOT: call
6
7; Data cache prefetch
8declare void @llvm.hexagon.prefetch(i8*)
9define void @prefetch(i8* %a) {
10  call void @llvm.hexagon.prefetch(i8* %a)
11  ret void
12}
13; CHECK: dcfetch({{.*}} + #0)
14