27 lines · plain
1# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py2# RUN: llc --mtriple=loongarch64 --mattr=+d --stop-after=postrapseudos %s \3# RUN: -o - | FileCheck %s4 5## Check the COPY instruction between CFRs.6## A pseudo (PseudoCopyCFR) is generated after postrapseudos pass.7 8...9---10name: test11tracksRegLiveness: true12body: |13 bb.0.entry:14 liveins: $fcc015 16 ; CHECK-LABEL: name: test17 ; CHECK: liveins: $fcc018 ; CHECK-NEXT: {{ $}}19 ; CHECK-NEXT: $fcc1 = PseudoCopyCFR $fcc020 ; CHECK-NEXT: $r4 = MOVCF2GR $fcc121 ; CHECK-NEXT: PseudoRET implicit $r422 $fcc1 = COPY $fcc023 $r4 = COPY $fcc124 PseudoRET implicit killed $r425 26...27