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 6 7declare void @llvm.prefetch(i8*, i32, i32, i32) 8 9define void @test_prefetch(i8* %a) nounwind { 10; RV32I-LABEL: test_prefetch: 11; RV32I: # %bb.0: 12; RV32I-NEXT: ret 13; 14; RV64I-LABEL: test_prefetch: 15; RV64I: # %bb.0: 16; RV64I-NEXT: ret 17 call void @llvm.prefetch(i8* %a, i32 0, i32 1, i32 2) 18 ret void 19} 20