25 lines · plain
1# RUN: llc -mtriple=s390x-linux-gnu -mcpu=z196 -O0 -start-after=finalize-isel \2# RUN: -stop-before=regallocfast -o - %s | FileCheck %s3# RUN: llc -mtriple=s390x-linux-gnu -mcpu=z196 -O3 -start-after=finalize-isel \4# RUN: -stop-before=livevars -o - %s | FileCheck %s5#6# Test that a COPY from CC gets implemented with an IPM to a GR32 reg.7 8---9name: fun010tracksRegLiveness: true11registers:12 - { id: 0, class: grx32bit }13body: |14 bb.0:15 liveins: $cc16 ; CHECK-LABEL: name: fun017 ; CHECK: %1:gr32bit = IPM implicit $cc18 ; CHECK-NEXT: %0:grx32bit = COPY %119 ; CHECK-NEXT: $r2l = COPY %020 ; CHECK-NEXT: Return implicit $r2l21 %0:grx32bit = COPY $cc22 $r2l = COPY %023 Return implicit $r2l24...25