Răsfoiți Sursa

Remove allocation of unused stack slot.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57987 91177308-0d34-0410-b5e6-96231b3b80d8
Dale Johannesen 17 ani în urmă
părinte
comite
e80d67ec11
1 a modificat fișierele cu 0 adăugiri și 6 ștergeri
  1. 0 6
      lib/Target/X86/X86ISelLowering.cpp

+ 0 - 6
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::vector<Constant*>CV0;
   CV0.push_back(ConstantInt::get(APInt(32, 0x45300000)));