• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
2# RUN: llc -march=aarch64 -run-pass=legalizer %s -o - -verify-machineinstrs | FileCheck %s
3---
4name:            test_sextload
5body: |
6  bb.0.entry:
7    liveins: $x0
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 1)
11    ; CHECK: $w0 = COPY [[SEXTLOAD]](s32)
12    %0:_(p0) = COPY $x0
13    %1:_(s32) = G_SEXTLOAD %0 :: (load 1)
14    $w0 = COPY %1
15...
16