forked from OSchip/llvm-project
Fix an overly indented line. Remove an 'else' after an 'if' that returns.
llvm-svn: 154479
This commit is contained in:
parent
bc680061e8
commit
692d584910
|
@ -4388,9 +4388,8 @@ static unsigned getTruncatedArgReg(const SDValue &N) {
|
|||
const SDValue &CFR = Ext.getOperand(0);
|
||||
if (CFR.getOpcode() == ISD::CopyFromReg)
|
||||
return cast<RegisterSDNode>(CFR.getOperand(1))->getReg();
|
||||
else
|
||||
if (CFR.getOpcode() == ISD::TRUNCATE)
|
||||
return getTruncatedArgReg(CFR);
|
||||
if (CFR.getOpcode() == ISD::TRUNCATE)
|
||||
return getTruncatedArgReg(CFR);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
@ -4419,7 +4418,7 @@ SelectionDAGBuilder::EmitFuncArgumentDbgValue(const Value *V, MDNode *Variable,
|
|||
// Some arguments' frame index is recorded during argument lowering.
|
||||
Offset = FuncInfo.getArgumentFrameIndex(Arg);
|
||||
if (Offset)
|
||||
Reg = TRI->getFrameRegister(MF);
|
||||
Reg = TRI->getFrameRegister(MF);
|
||||
|
||||
if (!Reg && N.getNode()) {
|
||||
if (N.getOpcode() == ISD::CopyFromReg)
|
||||
|
|
Loading…
Reference in New Issue