[PATCH] D68916: [ARM] Accept ldrb.w mnemonic for certain addressing modes (PR43382)

Sander de Smalen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 15 01:59:01 PDT 2019


sdesmalen added inline comments.


================
Comment at: llvm/lib/Target/ARM/ARMInstrThumb2.td:1404
                       GPRnopc, zextloadi8>;
+def : t2InstAlias<"ldrb${p}.w $Rt, $addr", (t2LDRBi8 GPRnopc:$Rt, t2addrmode_negimm8:$addr,
+                                            pred:$p)>;
----------------
Does LDRH (and maybe other instructions) not suffer the same issue? If so, should these InstAliases be moved into `T2I_ld`?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D68916/new/

https://reviews.llvm.org/D68916





More information about the llvm-commits mailing list