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
diff --git a/lib/Target/ARM/Thumb2InstrInfo.cpp b/lib/Target/ARM/Thumb2InstrInfo.cpp
index 0c31820..b3e5d7e 100644
--- a/lib/Target/ARM/Thumb2InstrInfo.cpp
+++ b/lib/Target/ARM/Thumb2InstrInfo.cpp
@@ -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.