1 # RUN: llc -march=amdgcn -run-pass si-fold-operands -verify-machineinstrs -o - %s | FileCheck %s
3 # CHECK: %1:vgpr_32 = V_MOV_B32_e32 0, implicit $exec
4 # CHECK: %2:vgpr_32 = V_MOV_B32_e32 0, implicit $exec
5 # CHECK: %4:vgpr_32 = COPY %3
6 # CHECK: %5:vgpr_32 = V_MOV_B32_e32 0, implicit $exec
7 # CHECK: %6:vgpr_32 = V_MOV_B32_e32 0, implicit $exec
8 # CHECK: %7:vgpr_32 = COPY %3
12 tracksRegLiveness: true
14 - { id: 0, class: sgpr_64 }
15 - { id: 1, class: vgpr_32 }
16 - { id: 2, class: vgpr_32 }
17 - { id: 3, class: vgpr_32 }
18 - { id: 4, class: vgpr_32 }
19 - { id: 5, class: vgpr_32 }
20 - { id: 6, class: vgpr_32 }
21 - { id: 7, class: vgpr_32 }
25 %1 = V_CNDMASK_B32_e64 0, 0, 0, 0, %0, implicit $exec
26 %2 = V_CNDMASK_B32_e64 0, %1, 0, %1, %0, implicit $exec
28 %4 = V_CNDMASK_B32_e64 0, %3, 0, %3, %0, implicit $exec
30 %6 = V_CNDMASK_B32_e64 0, %5, 0, 0, %0, implicit $exec
32 %7 = V_CNDMASK_B32_e32 %3, %3, implicit $exec, implicit $vcc