# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py # RUN: llc -march=aarch64 -run-pass=legalizer %s -o - | FileCheck %s --- name: test_sext_inreg body: | bb.0.entry: liveins: $w0, $w1 ; CHECK-LABEL: name: test_sext_inreg ; CHECK: [[COPY:%[0-9]+]]:_(s32) = COPY $w1 ; CHECK: [[SEXT_INREG:%[0-9]+]]:_(s32) = G_SEXT_INREG [[COPY]], 7 ; CHECK: $w0 = COPY [[SEXT_INREG]](s32) %0:_(s32) = COPY $w1 %2:_(s32) = G_SEXT_INREG %0(s32), 7 $w0 = COPY %2(s32) ...