File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -4767,14 +4767,10 @@ bool SIInstrInfo::physRegUsesConstantBus(const MachineOperand &RegOp) const {
47674767 // SGPRs use the constant bus
47684768
47694769 // FIXME: implicit registers that are not part of the MCInstrDesc's implicit
4770- // physical register operands should also count.
4770+ // physical register operands should also count, except for exec .
47714771 if (RegOp.isImplicit ())
47724772 return Reg == AMDGPU::VCC || Reg == AMDGPU::VCC_LO || Reg == AMDGPU::M0;
47734773
4774- // Normal exec read does not count.
4775- if ((Reg == AMDGPU::EXEC || Reg == AMDGPU::EXEC_LO) && RegOp.isImplicit ())
4776- return false ;
4777-
47784774 // SGPRs use the constant bus
47794775 return AMDGPU::SReg_32RegClass.contains (Reg) ||
47804776 AMDGPU::SReg_64RegClass.contains (Reg);
You can’t perform that action at this time.
0 commit comments