forked from OSchip/llvm-project
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:
parent
2adb4dab54
commit
0830980141
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue