Remove allocation of unused stack slot.
authorDale Johannesen <dalej@apple.com>
Wed, 22 Oct 2008 17:26:06 +0000 (17:26 +0000)
committerDale Johannesen <dalej@apple.com>
Wed, 22 Oct 2008 17:26:06 +0000 (17:26 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57987 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86ISelLowering.cpp

index 6007f9d1ad2331f798a4baae4dd904ebdc181d17..c0831a734a9c3e230b70fbe8506ca8abab26f141 100644 (file)
@@ -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)));