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