[PATCH] D95586: [ARM] permit PC as destination of LSL

Nick Desaulniers via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 27 20:51:58 PST 2021


nickdesaulniers added inline comments.


================
Comment at: llvm/lib/Target/ARM/ARMInstrInfo.td:3599-3602
 def MOVsi : AsI1<0b1101, (outs GPR:$Rd), (ins shift_so_reg_imm:$src),
                 DPSoRegImmFrm, IIC_iMOVsr,
                 "mov", "\t$Rd, $src", [(set GPR:$Rd, shift_so_reg_imm:$src)]>,
                 UnaryDP, Sched<[WriteALU]> {
----------------
it might be of interest to note that MOVs with an immediate operand didn't have the same restriction on the destination.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D95586



More information about the llvm-commits mailing list