Revert r109652, and remove the offending assert in loadRegFromStackSlot instead.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Thu, 29 Jul 2010 17:42:27 +0000 (17:42 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Thu, 29 Jul 2010 17:42:27 +0000 (17:42 +0000)
commitb2eeed7464e3492833bb7a495e78a9f031621653
tree87ba48d2c33cc43c406e8bd45cbdcbab4a29dd24
parenta685582048ab2714b854acf228bd8b61def1ca53
Revert r109652, and remove the offending assert in loadRegFromStackSlot instead.

We do sometimes load from a too small stack slot when dealing with x86 arguments
(varargs and smaller-than-32-bit args). It looks like we know what we are doing
in those cases, so I am going to remove the assert instead of artifically
enlarging stack slot sizes.

The assert in storeRegToStackSlot stays in. We don't want to write beyond the
bounds of a stack slot.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109764 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp
lib/Target/X86/X86InstrInfo.cpp