xref: /llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/calllowering-ret.ll (revision facff468b6c47b954aebd297c90bd44accaa54c6)
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2; RUN: llc -mtriple=riscv32 -global-isel -verify-machineinstrs < %s \
3; RUN:   | FileCheck -check-prefix=RV32I %s
4; RUN: llc -mtriple=riscv64 -global-isel -verify-machineinstrs < %s \
5; RUN:   | FileCheck -check-prefix=RV64I %s
6
7define void @foo() {
8; RV32I-LABEL: foo:
9; RV32I:       # %bb.0: # %entry
10; RV32I-NEXT:    ret
11;
12; RV64I-LABEL: foo:
13; RV64I:       # %bb.0: # %entry
14; RV64I-NEXT:    ret
15
16entry:
17  ret void
18}
19