[clang] [llvm] [RISC-V] Add support for MIPS P8700 CPU (PR #117865)

Craig Topper via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 27 09:58:51 PST 2024


================
@@ -2710,6 +2713,45 @@ MachineInstr *RISCVInstrInfo::emitLdStWithAddr(MachineInstr &MemI,
       .setMemRefs(MemI.memoperands())
       .setMIFlags(MemI.getFlags());
 }
+bool RISCVInstrInfo::isPairableLdStInstOpc(unsigned Opc) {
+  switch (Opc) {
+  default:
+    return false;
+  case RISCV::SH:
----------------
topperc wrote:

This list doesn't match what's supported in `RISCVLoadStoreOpt::tryConvertToLdStPair`

https://github.com/llvm/llvm-project/pull/117865


More information about the cfe-commits mailing list