1# RUN: llc -mtriple=s390x-linux-gnu -mcpu=z196 -O0 -start-before=prologepilog \
2# RUN:   -o - %s | FileCheck %s
3#
4# Test that a COPY to CC gets implemented with a tmlh or tmhh depending on
5# the source register.
6
7---
8name:            fun0
9tracksRegLiveness: true
10body:             |
11  bb.0:
12  liveins: $r3l, $r4h
13    ; CHECK-LABEL: fun0
14    ; CHECK: tmlh %r3, 12288
15    ; CHECK: tmhh %r4, 12288
16    $cc = COPY $r3l
17    $cc = COPY $r4h
18...
19