1 # RUN: llc -mtriple=amdgcn-- -run-pass=liveintervals,dead-mi-elimination,simple-register-coalescing -verify-machineinstrs -o - %s | FileCheck -check-prefix=GCN %s
3 # This is used to fail verififcation if MachineDCE tracks LIS.
9 tracksRegLiveness: true
14 %10:sreg_128 = S_LOAD_DWORDX4_IMM killed $noreg, 9, 0, 0
15 S_NOP 0, implicit-def %4:sreg_128, implicit %10.sub1:sreg_128
16 S_CBRANCH_SCC0 %bb.3, implicit undef $scc
20 S_CBRANCH_SCC0 %bb.2, implicit undef $scc
24 %8:sreg_32_xm0 = COPY %4.sub1:sreg_128
25 %7:sreg_32_xm0 = COPY %10.sub1:sreg_128
29 %10:sreg_128 = S_LOAD_DWORDX4_IMM killed $noreg, 10, 0, 0
30 %7:sreg_32_xm0 = COPY %10.sub1:sreg_128
31 %8:sreg_32_xm0 = COPY %10.sub2:sreg_128
35 $sgpr0 = COPY %8:sreg_32_xm0
36 $sgpr1 = COPY %7:sreg_32_xm0
37 S_ENDPGM 0, implicit $sgpr0, implicit $sgpr1