Thumb-2: fix typo that caused incorrect stack elimination for VFP operations and very large stack frames.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77401 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
David Goodwin 2009-07-28 23:52:33 +00:00
parent 5cff487665
commit d9453784fb

View File

@ -415,7 +415,7 @@ int llvm::rewriteT2FrameIndex(MachineInstr &MI, unsigned FrameRegIdx,
}
// Otherwise, offset doesn't fit. Pull in what we can to simplify
ImmedOffset = Offset & Mask;
ImmedOffset = ImmedOffset & Mask;
if (isSub) {
if (AddrMode == ARMII::AddrMode5)
// FIXME: Not consistent.