[ARM] Accept .w suffixes for some memory instructions
Some memory instructions in the following sections of Armv7-M ARM allow the .w mnemonic suffix, even though the preferred disassembly is without the suffix. A7.7.46 LDRB (immediate) T3 A7.7.55 LDRH (immediate) T3 A7.7.59 LDRSB (immediate) T2 A7.7.63 LDRSH (immediate) T2 A7.7.163 STRB (immediate) T3 A7.7.170 STRH (immediate) T3 This patch accepts the .w suffixes for theses instructions. Pseudo-instructions and custom parsing logic are used instead of simple aliases. More discussions are in these relevant patches: https://reviews.llvm.org/D68916 https://reviews.llvm.org/D96632 Differential Revision: https://reviews.llvm.org/D142980
Loading
Please sign in to comment