Small shifts can be done in 3 operand form and the ARMARM says they should not be converted to 2 operand.
Depends on http://reviews.llvm.org/D11054.
Differential D11056
[ARM] Don't be overzealous converting Thumb1 3 to 2 operands scott-0 on Jul 9 2015, 3:33 AM. Authored by
Details Small shifts can be done in 3 operand form and the ARMARM says they should not be converted to 2 operand. Depends on http://reviews.llvm.org/D11054.
Diff Detail Event TimelineComment Actions What about the FIXME that you had added in the tests earlier on? Didn't that get fixed? Comment Actions This one? No, I haven't fixed that yet (in any patch). This patch is just implementing "Encoding T1 is preferred to encoding T2 if <Rd> is specified and encoding T2 is preferred to encoding T1 if <Rd> is omitted." (ARMARM v7-A/R rev C.c page A8-307) |