mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-02 07:32:52 +00:00
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:
parent
5cff487665
commit
d9453784fb
@ -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
Block a user