Fix PR4567. Thumb1 target was using the wrong instruction to handle sp = sub fp, #c.
[oota-llvm.git] / lib / Target / ARM / README-Thumb.txt
index cc017945d80c6701d53c0363eec889252225af07..df94312d5f391fefa8eb9c72d75f81266973db8d 100644 (file)
@@ -244,3 +244,7 @@ to toggle the 's' bit since they do not set CPSR when they are inside IT blocks.
 Make use of hi register variants of cmp: tCMPhir / tCMPZhir.
 
 //===---------------------------------------------------------------------===//
+
+Thumb1 immediate field sometimes keep pre-scaled values. See
+Thumb1RegisterInfo::eliminateFrameIndex. This is inconsistent from ARM and
+Thumb2.