1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2 ; RUN: llc -mtriple=riscv64 -debug-entry-values -enable-misched=0 < %s | FileCheck %s
4 ; Test small patchpoints that don't emit calls.
5 define void @small_patchpoint_codegen(i64 %p1, i64 %p2, i64 %p3, i64 %p4) {
6 ; CHECK-LABEL: small_patchpoint_codegen:
7 ; CHECK: # %bb.0: # %entry
8 ; CHECK-NEXT: .cfi_def_cfa_offset 0
17 %result = tail call i64 (i64, i32, i8*, i32, ...) @llvm.experimental.patchpoint.i64(i64 5, i32 20, i8* null, i32 2, i64 %p1, i64 %p2)
21 declare void @llvm.experimental.stackmap(i64, i32, ...)
22 declare void @llvm.experimental.patchpoint.void(i64, i32, i8*, i32, ...)
23 declare i64 @llvm.experimental.patchpoint.i64(i64, i32, i8*, i32, ...)