mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-13 16:03:58 +00:00
R600/SI: Use break instead of continue
If an instruction doesn't have src1, it doesn't have src2 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@218536 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
5435c66a33
commit
07b7c98d61
@ -1397,7 +1397,7 @@ void SIInstrInfo::legalizeOperands(MachineInstr *MI) const {
|
||||
for (unsigned i = 0; i < 3; ++i) {
|
||||
int Idx = VOP3Idx[i];
|
||||
if (Idx == -1)
|
||||
continue;
|
||||
break;
|
||||
MachineOperand &MO = MI->getOperand(Idx);
|
||||
|
||||
if (MO.isReg()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user