1 # NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
2 # RUN: llc -mtriple=aarch64 -run-pass=legalizer -verify-machineinstrs %s -o - | FileCheck %s
4 # Verify that hint instructions are ignored by the legalizer.
8 tracksRegLiveness: true
12 ; CHECK-LABEL: name: assert_zext
13 ; CHECK: %copy:_(s32) = COPY $w1
14 ; CHECK: %hint:_(s32) = G_ASSERT_ZEXT %copy, 16
15 ; CHECK: $w0 = COPY %hint(s32)
16 ; CHECK: RET_ReallyLR implicit $w0
17 %copy:_(s32) = COPY $w1
18 %hint:_(s32) = G_ASSERT_ZEXT %copy, 16
20 RET_ReallyLR implicit $w0