[llvm-commits] [llvm] r57987 - /llvm/trunk/lib/Target/X86/X86ISelLowering.cpp

Dale Johannesen dalej at apple.com
Wed Oct 22 10:26:07 PDT 2008


Author: johannes
Date: Wed Oct 22 12:26:06 2008
New Revision: 57987

URL: http://llvm.org/viewvc/llvm-project?rev=57987&view=rev
Log:
Remove allocation of unused stack slot.


Modified:
    llvm/trunk/lib/Target/X86/X86ISelLowering.cpp

Modified: llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86ISelLowering.cpp?rev=57987&r1=57986&r2=57987&view=diff

==============================================================================
--- llvm/trunk/lib/Target/X86/X86ISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86ISelLowering.cpp Wed Oct 22 12:26:06 2008
@@ -4731,12 +4731,6 @@
   }
 */
 
-  // 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)));





More information about the llvm-commits mailing list