24 lines · plain
1# RUN: llc -run-pass si-optimize-exec-masking-pre-ra -mtriple=amdgcn -verify-machineinstrs -o - %s | FileCheck --check-prefixes=GCN %s2---3# GCN-LABEL: name: opt_exec_copy_fold4# GCN: %2:vreg_64 = COPY $exec5name: opt_exec_copy_fold6tracksRegLiveness: true7liveins:8 - { reg: '$sgpr0_sgpr1' }9body: |10 bb.0:11 liveins: $sgpr0_sgpr112 13 %0:vgpr_32 = V_CNDMASK_B32_e64 0, 0, 0, 1, $sgpr0_sgpr1, implicit $exec14 %1:sreg_64 = V_CMP_NE_U32_e64 0, %0, implicit $exec15 %2:vreg_64 = COPY $exec16 %3:sreg_64 = V_CMP_EQ_U64_e64 %1, %2, implicit $exec17 $scc = COPY %318 S_CBRANCH_SCC0 %bb.1, implicit $scc19 20 bb.1:21...22 23 24