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 {
4767
4767
// SGPRs use the constant bus
4768
4768
4769
4769
// 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 .
4771
4771
if (RegOp.isImplicit ())
4772
4772
return Reg == AMDGPU::VCC || Reg == AMDGPU::VCC_LO || Reg == AMDGPU::M0;
4773
4773
4774
- // Normal exec read does not count.
4775
- if ((Reg == AMDGPU::EXEC || Reg == AMDGPU::EXEC_LO) && RegOp.isImplicit ())
4776
- return false ;
4777
-
4778
4774
// SGPRs use the constant bus
4779
4775
return AMDGPU::SReg_32RegClass.contains (Reg) ||
4780
4776
AMDGPU::SReg_64RegClass.contains (Reg);
You can’t perform that action at this time.
0 commit comments