[clang] [llvm] [RISC-V] Add support for MIPS P8700 CPU (PR #117865)
Djordje Todorovic via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 31 06:44:11 PST 2024
================
@@ -367,6 +372,16 @@ class RISCVPassConfig : public TargetPassConfig {
DAG->addMutation(createStoreClusterDAGMutation(
DAG->TII, DAG->TRI, /*ReorderWhileClustering=*/true));
}
+
+ const RISCVSubtarget &ST = C->MF->getSubtarget<RISCVSubtarget>();
+ if (!ST.getMacroFusions().empty()) {
+ DAG = DAG ? DAG : createGenericSchedLive(C);
+
+ if (ST.useLoadStorePairs()) {
----------------
djtodoro wrote:
Yes, thanks, addressed in https://github.com/llvm/llvm-project/pull/121394
https://github.com/llvm/llvm-project/pull/117865
More information about the llvm-commits
mailing list