[llvm-commits] [llvm] r77401 - /llvm/trunk/lib/Target/ARM/Thumb2InstrInfo.cpp
David Goodwin
david_goodwin at apple.com
Tue Jul 28 16:52:33 PDT 2009
Author: david_goodwin
Date: Tue Jul 28 18:52:33 2009
New Revision: 77401
URL: http://llvm.org/viewvc/llvm-project?rev=77401&view=rev
Log:
Thumb-2: fix typo that caused incorrect stack elimination for VFP operations and very large stack frames.
Modified:
llvm/trunk/lib/Target/ARM/Thumb2InstrInfo.cpp
Modified: llvm/trunk/lib/Target/ARM/Thumb2InstrInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/Thumb2InstrInfo.cpp?rev=77401&r1=77400&r2=77401&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/Thumb2InstrInfo.cpp (original)
+++ llvm/trunk/lib/Target/ARM/Thumb2InstrInfo.cpp Tue Jul 28 18:52:33 2009
@@ -415,7 +415,7 @@
}
// 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.
More information about the llvm-commits
mailing list