1# RUN: llc -mtriple=s390x-linux-gnu -mcpu=z13 -start-before=postrapseudos \
2# RUN:   %s -o - | FileCheck %s
3#
4# Test that an AHIMuxK pseudo does not result in a COPY (risbhg) if the
5# source and destination registers are the same.
6
7---
8name:             fun
9tracksRegLiveness: true
10body:             |
11  bb.0:
12    $r1h = IIHF 0
13    renamable $r1h = nuw nsw AHIMuxK killed renamable $r1h, 4, implicit-def dead $cc
14
15    ; CHECK-LABEL: fun
16    ; CHECK-NOT: risbhg
17    ; CHECK: aih %r1, 4
18...
19
20
21