32 lines · plain
1# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py2# RUN: llc -o - %s -mtriple=riscv32 -simplify-mir \3# RUN: -run-pass=postrapseudos | FileCheck --check-prefix=RV32 %s4# RUN: llc -o - %s -mtriple=riscv64 -simplify-mir \5# RUN: -run-pass=postrapseudos | FileCheck --check-prefix=RV64 %s6 7--- |8 define void @foo() {9 entry:10 ret void11 }12...13---14name: foo15body: |16 bb.0.entry:17 liveins: $x1118 ; RV32-LABEL: name: foo19 ; RV32: liveins: $x1120 ; RV32-NEXT: {{ $}}21 ; RV32-NEXT: $x10 = ADDI renamable $x11, 022 ; RV32-NEXT: PseudoRET implicit $x1023 ;24 ; RV64-LABEL: name: foo25 ; RV64: liveins: $x1126 ; RV64-NEXT: {{ $}}27 ; RV64-NEXT: $x10 = ADDI renamable $x11, 028 ; RV64-NEXT: PseudoRET implicit $x1029 renamable $x10 = COPY renamable $x1130 PseudoRET implicit $x1031...32