31 lines · plain
1# RUN: llc -mtriple amdgcn-amd-amdhsa -run-pass=liveintervals,pipeliner -verify-machineinstrs -o - %s | FileCheck %s2 3# This test checks that the verifier doesn't crash on early clobbered subreg arguments.4 5---6name: sub07tracksRegLiveness: true8body: |9 bb.0:10 liveins: $vgpr0_vgpr111 12 ; CHECK-NOT: *** Bad machine code: Inconsistent valno->def ***13 INLINEASM &"", 0 /* attdialect */, 2228235 /* regdef-ec:VGPR_32 */, def undef early-clobber %0.sub0:vreg_64, 2228234 /* regdef:VGPR_32 */, def undef %0.sub1:vreg_6414 FLAT_STORE_DWORDX2 $vgpr0_vgpr1, %0, 0, 0, implicit $exec, implicit $flat_scr :: (store (s64))15 S_ENDPGM 016 17...18---19name: sub120tracksRegLiveness: true21body: |22 bb.0:23 liveins: $vgpr0_vgpr124 25 ; CHECK-NOT: *** Bad machine code: Inconsistent valno->def ***26 INLINEASM &"", 0 /* attdialect */, 2228234 /* regdef:VGPR_32 */, def undef %0.sub0:vreg_64, 2228235 /* regdef-ec:VGPR_32 */, def undef early-clobber %0.sub1:vreg_6427 FLAT_STORE_DWORDX2 $vgpr0_vgpr1, %0, 0, 0, implicit $exec, implicit $flat_scr :: (store (s64))28 S_ENDPGM 029 30...31