summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorAkira Hatanaka <ahatanak@gmail.com>2011-05-20 01:45:06 +0000
committerAkira Hatanaka <ahatanak@gmail.com>2011-05-20 01:45:06 +0000
commit7489faa0c1c9cbcd0182e9c19ca10ee43e7dbfb4 (patch)
treef6b8c2464d1385ea1e2a3133cb9f24a45fa254d5 /llvm/lib
parentd738c0f7c9aed9462360a1b86bfd10fc4ba53147 (diff)
downloadbcm5719-llvm-7489faa0c1c9cbcd0182e9c19ca10ee43e7dbfb4.tar.gz
bcm5719-llvm-7489faa0c1c9cbcd0182e9c19ca10ee43e7dbfb4.zip
Remove code that creates unnecessary frame objects.
llvm-svn: 131711
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/Mips/MipsISelLowering.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/llvm/lib/Target/Mips/MipsISelLowering.cpp b/llvm/lib/Target/Mips/MipsISelLowering.cpp
index 496d00fe4eb..f9401858ce8 100644
--- a/llvm/lib/Target/Mips/MipsISelLowering.cpp
+++ b/llvm/lib/Target/Mips/MipsISelLowering.cpp
@@ -1048,11 +1048,7 @@ MipsTargetLowering::LowerCall(SDValue Chain, SDValue Callee,
CCState CCInfo(CallConv, isVarArg, getTargetMachine(), ArgLocs,
*DAG.getContext());
- // To meet O32 ABI, Mips must always allocate 16 bytes on
- // the stack (even if less than 4 are used as arguments)
if (Subtarget->isABI_O32()) {
- int VTsize = MVT(MVT::i32).getSizeInBits()/8;
- MFI->CreateFixedObject(VTsize, (VTsize*3), true);
CCInfo.AnalyzeCallOperands(Outs, CC_MipsO32);
} else
CCInfo.AnalyzeCallOperands(Outs, CC_Mips);
OpenPOWER on IntegriCloud