[clang] [llvm] [RISC-V] Add support for MIPS P8700 CPU (PR #117865)
Djordje Todorovic via cfe-commits
cfe-commits at lists.llvm.org
Tue Dec 31 06:43:03 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:
----------------
djtodoro wrote:
That is true. I have added a TODO marker for it in https://github.com/llvm/llvm-project/pull/121394.
https://github.com/llvm/llvm-project/pull/117865
More information about the cfe-commits
mailing list