24 lines · plain
1# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py2# RUN: llc -mtriple=aarch64 -run-pass=legalizer -verify-machineinstrs %s -o - | FileCheck %s3#4# Verify that hint instructions are ignored by the legalizer.5 6---7name: assert_zext8tracksRegLiveness: true9body: |10 bb.0:11 liveins: $w0, $w112 ; CHECK-LABEL: name: assert_zext13 ; CHECK: liveins: $w0, $w114 ; CHECK-NEXT: {{ $}}15 ; CHECK-NEXT: %copy:_(s32) = COPY $w116 ; CHECK-NEXT: %hint:_(s32) = G_ASSERT_ZEXT %copy, 1617 ; CHECK-NEXT: $w0 = COPY %hint(s32)18 ; CHECK-NEXT: RET_ReallyLR implicit $w019 %copy:_(s32) = COPY $w120 %hint:_(s32) = G_ASSERT_ZEXT %copy, 1621 $w0 = COPY %hint22 RET_ReallyLR implicit $w023...24