[llvm-branch-commits] [llvm-branch] r111146 - /llvm/branches/Apple/Morbo/lib/Target/X86/X86InstrInfo.cpp
Jakob Stoklund Olesen
stoklund at 2pi.dk
Mon Aug 16 09:32:50 PDT 2010
Author: stoklund
Date: Mon Aug 16 11:32:50 2010
New Revision: 111146
URL: http://llvm.org/viewvc/llvm-project?rev=111146&view=rev
Log:
Remove bad assertion that has also been removed from trunk.
Modified:
llvm/branches/Apple/Morbo/lib/Target/X86/X86InstrInfo.cpp
Modified: llvm/branches/Apple/Morbo/lib/Target/X86/X86InstrInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/Apple/Morbo/lib/Target/X86/X86InstrInfo.cpp?rev=111146&r1=111145&r2=111146&view=diff
==============================================================================
--- llvm/branches/Apple/Morbo/lib/Target/X86/X86InstrInfo.cpp (original)
+++ llvm/branches/Apple/Morbo/lib/Target/X86/X86InstrInfo.cpp Mon Aug 16 11:32:50 2010
@@ -2229,8 +2229,6 @@
unsigned DestReg, int FrameIdx,
const TargetRegisterClass *RC) const{
const MachineFunction &MF = *MBB.getParent();
- assert(MF.getFrameInfo()->getObjectSize(FrameIdx) >= RC->getSize() &&
- "Stack slot too small for load");
bool isAligned = (RI.getStackAlignment() >= 16) || RI.canRealignStack(MF);
unsigned Opc = getLoadRegOpcode(DestReg, RC, isAligned, TM);
DebugLoc DL = MBB.findDebugLoc(MI);
More information about the llvm-branch-commits
mailing list