1 # RUN: llc -run-pass si-optimize-exec-masking-pre-ra -march=amdgcn -verify-machineinstrs -o - %s | FileCheck --check-prefixes=GCN %s
3 # GCN-LABEL: name: opt_exec_copy_fold
4 # GCN: %2:vreg_64 = COPY $exec
5 name: opt_exec_copy_fold
6 tracksRegLiveness: true
8 - { reg: '$sgpr0_sgpr1' }
13 %0:vgpr_32 = V_CNDMASK_B32_e64 0, 0, 0, 1, $sgpr0_sgpr1, implicit $exec
14 %1:sreg_64 = V_CMP_NE_U32_e64 0, %0, implicit $exec
15 %2:vreg_64 = COPY $exec
16 %3:sreg_64 = V_CMP_EQ_U64_e64 %1, %2, implicit $exec
18 S_CBRANCH_SCC0 %bb.1, implicit $scc