From: Dale Johannesen Date: Wed, 22 Oct 2008 17:26:06 +0000 (+0000) Subject: Remove allocation of unused stack slot. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=e80d67ec11cff70700a13b54a4c057afd58ed33c;p=oota-llvm.git Remove allocation of unused stack slot. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57987 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/X86/X86ISelLowering.cpp b/lib/Target/X86/X86ISelLowering.cpp index 6007f9d1ad2..c0831a734a9 100644 --- a/lib/Target/X86/X86ISelLowering.cpp +++ b/lib/Target/X86/X86ISelLowering.cpp @@ -4731,12 +4731,6 @@ SDValue X86TargetLowering::LowerUINT_TO_FP(SDValue Op, SelectionDAG &DAG) { } */ - // Get a XMM-vector-sized stack slot. - unsigned Size = 128/8; - MachineFunction &MF = DAG.getMachineFunction(); - int SSFI = MF.getFrameInfo()->CreateStackObject(Size, Size); - SDValue StackSlot = DAG.getFrameIndex(SSFI, getPointerTy()); - // Build some magic constants. std::vectorCV0; CV0.push_back(ConstantInt::get(APInt(32, 0x45300000)));