[llvm] r174854 - Remove unnecessary code.
Evan Cheng
evan.cheng at apple.com
Sun Feb 10 17:18:26 PST 2013
Author: evancheng
Date: Sun Feb 10 19:18:26 2013
New Revision: 174854
URL: http://llvm.org/viewvc/llvm-project?rev=174854&view=rev
Log:
Remove unnecessary code.
Modified:
llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
Modified: llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp?rev=174854&r1=174853&r2=174854&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp (original)
+++ llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp Sun Feb 10 19:18:26 2013
@@ -6591,10 +6591,6 @@ void SelectionDAGISel::LowerArguments(co
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;
More information about the llvm-commits
mailing list