1# RUN: llc -march=amdgcn -run-pass si-fold-operands -verify-machineinstrs -o - %s | FileCheck %s 2 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 9 10--- 11name: fold_cndmask 12tracksRegLiveness: true 13registers: 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 } 22body: | 23 bb.0.entry: 24 %0 = IMPLICIT_DEF 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 27 %3 = IMPLICIT_DEF 28 %4 = V_CNDMASK_B32_e64 0, %3, 0, %3, %0, implicit $exec 29 %5 = COPY %1 30 %6 = V_CNDMASK_B32_e64 0, %5, 0, 0, %0, implicit $exec 31 $vcc = IMPLICIT_DEF 32 %7 = V_CNDMASK_B32_e32 %3, %3, implicit $exec, implicit $vcc 33 34... 35