# RUN: llc -march=hexagon -run-pass hexagon-gen-mux -o - %s -verify-machineinstrs | FileCheck %s
# CHECK: $r2 = C2_mux killed $p0, killed $r0, $r1
---
name: fred
tracksRegLiveness: true
body: |
bb.0:
liveins: $d0, $p0
$r2 = A2_tfrt $p0, $r0
$r0 = A2_tfr $r1
$r2 = A2_tfrf $p0, killed $r1
...