[PATCH] D68916: [ARM] Accept ldrb.w mnemonic for certain addressing modes (PR43382)
Momchil Velikov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Oct 12 11:22:32 PDT 2019
chill created this revision.
chill added reviewers: efriedma, grosbach.
Herald added subscribers: llvm-commits, hiraditya, kristof.beyls.
Herald added a project: LLVM.
Encoding T3 of `ldrb` in A7.7.46 (Armv7-M ARM Revidion E.d) offset allows the ".w" mnemonic suffix, even
though the preferred disassembly is without the suffix.
We did not accept the suffix; this patch fixes it by adding a few instruction aliases.
Is there a less hackish way of doing it ?
https://reviews.llvm.org/D68916
Files:
llvm/lib/Target/ARM/ARMInstrThumb2.td
llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
llvm/test/MC/ARM/basic-thumb2-instructions.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D68916.224755.patch
Type: text/x-patch
Size: 6259 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191012/c033bb68/attachment.bin>
More information about the llvm-commits
mailing list