xref: /llvm-project/llvm/test/CodeGen/RISCV/rv64-stackmap-nops.ll (revision 97982a8c605fac7c86d02e641a6cd7898b3ca343)
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2; RUN: llc < %s -mtriple=riscv64 | FileCheck %s
3
4define void @test_shadow_optimization() {
5; CHECK-LABEL: test_shadow_optimization:
6; CHECK:       # %bb.0: # %entry
7; CHECK-NEXT:  .Ltmp0:
8; CHECK-NEXT:    nop
9; CHECK-NEXT:    nop
10; CHECK-NEXT:    nop
11; CHECK-NEXT:    ret
12entry:
13  tail call void (i64, i32, ...) @llvm.experimental.stackmap(i64  0, i32  16)
14  ret void
15}
16
17declare void @llvm.experimental.stackmap(i64, i32, ...)
18