1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2 ; RUN: llc -mtriple=riscv32 -verify-machineinstrs < %s \
3 ; RUN: | FileCheck -check-prefix=RV32I %s
4 ; RUN: llc -mtriple=riscv64 -verify-machineinstrs < %s \
5 ; RUN: | FileCheck -check-prefix=RV64I %s
7 declare void @llvm.prefetch(i8*, i32, i32, i32)
9 define void @test_prefetch(i8* %a) nounwind {
10 ; RV32I-LABEL: test_prefetch:
14 ; RV64I-LABEL: test_prefetch:
17 call void @llvm.prefetch(i8* %a, i32 0, i32 1, i32 2)