[llvm] r248476 - AMDGPU: Return after instruction is processed.
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 24 00:51:28 PDT 2015
Author: arsenm
Date: Thu Sep 24 02:51:28 2015
New Revision: 248476
URL: http://llvm.org/viewvc/llvm-project?rev=248476&view=rev
Log:
AMDGPU: Return after instruction is processed.
Modified:
llvm/trunk/lib/Target/AMDGPU/SIInstrInfo.cpp
Modified: llvm/trunk/lib/Target/AMDGPU/SIInstrInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/AMDGPU/SIInstrInfo.cpp?rev=248476&r1=248475&r2=248476&view=diff
==============================================================================
--- llvm/trunk/lib/Target/AMDGPU/SIInstrInfo.cpp (original)
+++ llvm/trunk/lib/Target/AMDGPU/SIInstrInfo.cpp Thu Sep 24 02:51:28 2015
@@ -1730,6 +1730,8 @@ void SIInstrInfo::legalizeOperands(Machi
// legalize it.
legalizeOpWithMove(MI, Idx);
}
+
+ return;
}
// Legalize REG_SEQUENCE and PHI
@@ -1785,6 +1787,8 @@ void SIInstrInfo::legalizeOperands(Machi
.addOperand(MI->getOperand(i));
MI->getOperand(i).setReg(DstReg);
}
+
+ return;
}
// Legalize INSERT_SUBREG
More information about the llvm-commits
mailing list