Remove unnecessary code.

llvm-svn: 174854
This commit is contained in:
Evan Cheng 2013-02-11 01:18:26 +00:00
parent b78e9e59ca
commit d1c6404250
1 changed files with 0 additions and 4 deletions

View File

@ -6591,10 +6591,6 @@ void SelectionDAGISel::LowerArguments(const BasicBlock *LLVMBB) {
const DataLayout *TD = TLI.getDataLayout();
SmallVector<ISD::InputArg, 16> Ins;
// Check whether the function can return without sret-demotion.
SmallVector<ISD::OutputArg, 4> Outs;
GetReturnInfo(F.getReturnType(), F.getAttributes(), Outs, TLI);
if (!FuncInfo->CanLowerReturn) {
// Put in an sret pointer parameter before all the other parameters.
SmallVector<EVT, 1> ValueVTs;