mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-09 11:25:55 +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:
@@ -1397,7 +1397,7 @@ void SIInstrInfo::legalizeOperands(MachineInstr *MI) const {
|
|||||||
for (unsigned i = 0; i < 3; ++i) {
|
for (unsigned i = 0; i < 3; ++i) {
|
||||||
int Idx = VOP3Idx[i];
|
int Idx = VOP3Idx[i];
|
||||||
if (Idx == -1)
|
if (Idx == -1)
|
||||||
continue;
|
break;
|
||||||
MachineOperand &MO = MI->getOperand(Idx);
|
MachineOperand &MO = MI->getOperand(Idx);
|
||||||
|
|
||||||
if (MO.isReg()) {
|
if (MO.isReg()) {
|
||||||
|
Reference in New Issue
Block a user