summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/ARMISelLowering.cpp
diff options
context:
space:
mode:
authorJonathan Roelofs <jonathan@codesourcery.com>2014-08-05 17:36:05 +0000
committerJonathan Roelofs <jonathan@codesourcery.com>2014-08-05 17:36:05 +0000
commit064eb5a1777048c653f6df3975654ac0787249e5 (patch)
tree4effc881f299230ca4ed743816a156dffa2d7a55 /llvm/lib/Target/ARM/ARMISelLowering.cpp
parent8e5beb6edbb54350249e9f79affea9aac6f3b57f (diff)
downloadbcm5719-llvm-064eb5a1777048c653f6df3975654ac0787249e5.tar.gz
bcm5719-llvm-064eb5a1777048c653f6df3975654ac0787249e5.zip
Revert r214881 because it broke lots of build-bots
llvm-svn: 214893
Diffstat (limited to 'llvm/lib/Target/ARM/ARMISelLowering.cpp')
-rw-r--r--llvm/lib/Target/ARM/ARMISelLowering.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/llvm/lib/Target/ARM/ARMISelLowering.cpp b/llvm/lib/Target/ARM/ARMISelLowering.cpp
index 3e53af42b89..8c4900b5b48 100644
--- a/llvm/lib/Target/ARM/ARMISelLowering.cpp
+++ b/llvm/lib/Target/ARM/ARMISelLowering.cpp
@@ -2113,10 +2113,6 @@ ARMTargetLowering::LowerReturn(SDValue Chain,
RetOps.push_back(Chain); // Operand #0 = Chain (updated below)
bool isLittleEndian = Subtarget->isLittle();
- MachineFunction &MF = DAG.getMachineFunction();
- ARMFunctionInfo *AFI = MF.getInfo<ARMFunctionInfo>();
- AFI->setReturnRegsCount(RVLocs.size());
-
// Copy the result values into the output registers.
for (unsigned i = 0, realRVLocIdx = 0;
i != RVLocs.size();
OpenPOWER on IntegriCloud