1# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py 2# RUN: llc -mtriple aarch64 -run-pass=aarch64-postlegalizer-combiner -verify-machineinstrs %s -o - | FileCheck %s 3 4... 5--- 6name: delete_store_undef 7legalized: true 8tracksRegLiveness: true 9body: | 10 bb.1.entry: 11 liveins: $x0 12 13 ; A store of an implicit def can safely be deleted before or after 14 ; legalization. 15 16 ; CHECK-LABEL: name: delete_store_undef 17 ; CHECK: liveins: $x0 18 ; CHECK-NOT: G_STORE 19 ; CHECK: RET_ReallyLR 20 %0:_(p0) = COPY $x0 21 %1:_(s32) = G_IMPLICIT_DEF 22 G_STORE %1(s32), %0(p0) :: (store 4) 23 RET_ReallyLR 24 25... 26