[PATCH] D68916: [ARM] Accept ldrb.w mnemonic for certain addressing modes (PR43382)
Eli Friedman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 14 11:49:09 PDT 2019
efriedma added a comment.
Adding aliases seems like the right approach; we have aliases for a bunch of other instructions.
I'm not sure why you need the AsmMatchConverter, though; needs a comment to explain.
================
Comment at: llvm/lib/Target/ARM/ARMInstrThumb2.td:1536
+
+def : t2InstAlias<"ldrb${p}.w $Rt, $Rn$offset", (t2LDRB_POST GPR:$Rt, GPR:$Rt, addr_offset_none:$Rn, t2am_imm8_offset:$offset, pred:$p)>;
+
----------------
Why is Rt listed twice here?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D68916/new/
https://reviews.llvm.org/D68916
More information about the llvm-commits
mailing list