1# RUN: llc -mtriple=s390x-linux-gnu -mcpu=z196 -O0 -start-after=finalize-isel \ 2# RUN: -stop-before=regallocfast -o - %s | FileCheck %s 3# RUN: llc -mtriple=s390x-linux-gnu -mcpu=z196 -O3 -start-after=finalize-isel \ 4# RUN: -stop-before=livevars -o - %s | FileCheck %s 5# 6# Test that a COPY from CC gets implemented with an IPM to a GR32 reg. 7 8--- 9name: fun0 10tracksRegLiveness: true 11registers: 12 - { id: 0, class: grx32bit } 13body: | 14 bb.0: 15 liveins: $cc 16 ; CHECK-LABEL: name: fun0 17 ; CHECK: %1:gr32bit = IPM implicit $cc 18 ; CHECK-NEXT: %0:grx32bit = COPY %1 19 ; CHECK-NEXT: $r2l = COPY %0 20 ; CHECK-NEXT: Return implicit $r2l 21 %0:grx32bit = COPY $cc 22 $r2l = COPY %0 23 Return implicit $r2l 24... 25