1 # NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
2 # RUN: llc -mtriple=aarch64 -run-pass=legalizer %s -o - -verify-machineinstrs | FileCheck %s
8 ; CHECK-LABEL: name: test_sextload
9 ; CHECK: [[COPY:%[0-9]+]]:_(p0) = COPY $x0
10 ; CHECK: [[SEXTLOAD:%[0-9]+]]:_(s32) = G_SEXTLOAD [[COPY]](p0) :: (load (s8))
11 ; CHECK: $w0 = COPY [[SEXTLOAD]](s32)
13 %1:_(s32) = G_SEXTLOAD %0 :: (load (s8))