[PATCH] D62667: [ARM] Add the non-MVE instructions in Arm v8.1-M.

Momchil Velikov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 7 03:58:15 PDT 2019


chill added inline comments.


================
Comment at: llvm/trunk/lib/Target/ARM/Thumb2InstrInfo.cpp:164
       MachineRegisterInfo *MRI = &MF.getRegInfo();
-      MRI->constrainRegClass(SrcReg, &ARM::GPRPair_with_gsub_1_in_rGPRRegClass);
+      MRI->constrainRegClass(SrcReg, &ARM::GPRPair_with_gsub_1_in_GPRwithAPSRnospRegClass);
     }
----------------
Why was this change needed? I would think `ARM::GPRPair_with_gsub_1_in_rGPRRegClass` was the correct one (except that it does not exist anymore :/ )


Repository:
  rL LLVM

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

https://reviews.llvm.org/D62667





More information about the llvm-commits mailing list