[llvm] [RISCV] Enable PostRAScheduler for SiFive7 (PR #83166)
Michael Maitland via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 27 10:11:37 PST 2024
https://github.com/michaelmaitland created https://github.com/llvm/llvm-project/pull/83166
None
>From fb0c98178cb1c6efffa19689a91d48db5fb4a23c Mon Sep 17 00:00:00 2001
From: Michael Maitland <michaeltmaitland at gmail.com>
Date: Tue, 27 Feb 2024 10:11:03 -0800
Subject: [PATCH] [RISCV] Enable PostRAScheduler for SiFive7
---
llvm/lib/Target/RISCV/RISCVSchedSiFive7.td | 1 +
1 file changed, 1 insertion(+)
diff --git a/llvm/lib/Target/RISCV/RISCVSchedSiFive7.td b/llvm/lib/Target/RISCV/RISCVSchedSiFive7.td
index 040cec42674000..0430d603620b6a 100644
--- a/llvm/lib/Target/RISCV/RISCVSchedSiFive7.td
+++ b/llvm/lib/Target/RISCV/RISCVSchedSiFive7.td
@@ -198,6 +198,7 @@ def SiFive7Model : SchedMachineModel {
let LoadLatency = 3;
let MispredictPenalty = 3;
let CompleteModel = 0;
+ let PostRAScheduler = true;
let EnableIntervals = true;
let UnsupportedFeatures = [HasStdExtZbkb, HasStdExtZbkc, HasStdExtZbkx,
HasStdExtZcmt, HasStdExtZknd, HasStdExtZkne,
More information about the llvm-commits
mailing list