1 # REQUIRES: amdgpu-registered-target
2 # RUN: llvm-reduce -simplify-mir --delta-passes=instructions -mtriple=amdgcn-amd-amdhsa --test FileCheck --test-arg --check-prefix=CHECK-INTERESTINGNESS --test-arg %s --test-arg --input-file %s -o %t 2> %t.log
3 # RUN: FileCheck --check-prefix=RESULT %s < %t
5 # CHECK-INTERESTINGNESS: V_MOV_B32_e32 $vgpr0
6 # CHECK-INTERESTINGNESS: S_NOP 0
8 # The block liveins list needs to be carried through even though this
9 # tracksRegLiveness is false
12 # RESULT-NEXT: liveins: $vgpr0, $vgpr1_vgpr2
13 # RESULT: %0:vgpr_32 = V_MOV_B32_e32 $vgpr0, implicit $exec
14 # RESULT-NEXT: S_NOP 0
15 # RESULT-NEXT: S_ENDPGM 0, implicit %0, implicit %0
19 tracksRegLiveness: false
22 liveins: $vgpr0, $vgpr1_vgpr2
24 %0:vgpr_32 = V_MOV_B32_e32 $vgpr0, implicit $exec
25 %1:vgpr_32 = V_MOV_B32_e32 $vgpr1, implicit $exec
27 S_ENDPGM 0, implicit %0, implicit %1