From: Matt Arsenault Date: Thu, 24 Sep 2015 07:51:28 +0000 (+0000) Subject: AMDGPU: Return after instruction is processed. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=a5e772ea93d2f14b6854ef58bdf6de077c1bd7d5;p=oota-llvm.git AMDGPU: Return after instruction is processed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@248476 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/AMDGPU/SIInstrInfo.cpp b/lib/Target/AMDGPU/SIInstrInfo.cpp index f021e0fd4fe..f40cd0cdeb7 100644 --- a/lib/Target/AMDGPU/SIInstrInfo.cpp +++ b/lib/Target/AMDGPU/SIInstrInfo.cpp @@ -1730,6 +1730,8 @@ void SIInstrInfo::legalizeOperands(MachineInstr *MI) const { // legalize it. legalizeOpWithMove(MI, Idx); } + + return; } // Legalize REG_SEQUENCE and PHI @@ -1785,6 +1787,8 @@ void SIInstrInfo::legalizeOperands(MachineInstr *MI) const { .addOperand(MI->getOperand(i)); MI->getOperand(i).setReg(DstReg); } + + return; } // Legalize INSERT_SUBREG