llvm.org GIT mirror llvm / 7eb46d8
Fix an overly indented line. Remove an 'else' after an 'if' that returns. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154479 91177308-0d34-0410-b5e6-96231b3b80d8 Craig Topper 8 years ago
1 changed file(s) with 3 addition(s) and 4 deletion(s). Raw diff Collapse all Expand all
43874387 const SDValue &CFR = Ext.getOperand(0);
43884388 if (CFR.getOpcode() == ISD::CopyFromReg)
43894389 return cast(CFR.getOperand(1))->getReg();
4390 else
4391 if (CFR.getOpcode() == ISD::TRUNCATE)
4392 return getTruncatedArgReg(CFR);
4390 if (CFR.getOpcode() == ISD::TRUNCATE)
4391 return getTruncatedArgReg(CFR);
43934392 }
43944393 return 0;
43954394 }
44184417 // Some arguments' frame index is recorded during argument lowering.
44194418 Offset = FuncInfo.getArgumentFrameIndex(Arg);
44204419 if (Offset)
4421 Reg = TRI->getFrameRegister(MF);
4420 Reg = TRI->getFrameRegister(MF);
44224421
44234422 if (!Reg && N.getNode()) {
44244423 if (N.getOpcode() == ISD::CopyFromReg)