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
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)
13 %2:_(s32) = G_SEXT_INREG %0(s32), 7