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_zextload
9 ; CHECK: [[COPY:%[0-9]+]]:_(p0) = COPY $x0
10 ; CHECK: [[ZEXTLOAD:%[0-9]+]]:_(s32) = G_ZEXTLOAD [[COPY]](p0) :: (load (s8))
11 ; CHECK: $w0 = COPY [[ZEXTLOAD]](s32)
13 %1:_(s32) = G_ZEXTLOAD %0 :: (load (s8))