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

llvm-svn: 77401
This commit is contained in:
David Goodwin 2009-07-28 23:52:33 +00:00
parent 2adb4dab54
commit 0830980141
1 changed files with 1 additions and 1 deletions

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.