1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00

R600/SI: Use break instead of continue

If an instruction doesn't have src1, it doesn't have src2

llvm-svn: 218536
This commit is contained in:
Matt Arsenault 2014-09-26 17:55:14 +00:00
parent 876af8eb56
commit 5ecfa9e38d

View File

@ -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()) {