mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-07-20 10:30:03 +00:00
Remove unnecessary code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174854 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f12b379448
commit
5f352cc6e4
@ -6591,10 +6591,6 @@ void SelectionDAGISel::LowerArguments(const BasicBlock *LLVMBB) {
|
|||||||
const DataLayout *TD = TLI.getDataLayout();
|
const DataLayout *TD = TLI.getDataLayout();
|
||||||
SmallVector<ISD::InputArg, 16> Ins;
|
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) {
|
if (!FuncInfo->CanLowerReturn) {
|
||||||
// Put in an sret pointer parameter before all the other parameters.
|
// Put in an sret pointer parameter before all the other parameters.
|
||||||
SmallVector<EVT, 1> ValueVTs;
|
SmallVector<EVT, 1> ValueVTs;
|
||||||
|
Loading…
Reference in New Issue
Block a user