[llvm] [RISCV] Add TuneNoSinkSplatOperands to sifive-p670 (PR #79492)

Michael Maitland via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 25 11:49:31 PST 2024


https://github.com/michaelmaitland created https://github.com/llvm/llvm-project/pull/79492

None

>From 343e867bfd529150854086a31ed7e26aa014146f Mon Sep 17 00:00:00 2001
From: Michael Maitland <michaeltmaitland at gmail.com>
Date: Thu, 25 Jan 2024 11:47:16 -0800
Subject: [PATCH] [RISCV] Add TuneNoSinkSplatOperands to sifive-p670

---
 llvm/lib/Target/RISCV/RISCVProcessors.td | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/llvm/lib/Target/RISCV/RISCVProcessors.td b/llvm/lib/Target/RISCV/RISCVProcessors.td
index 03ca505d100df4f..59bb811058d4886 100644
--- a/llvm/lib/Target/RISCV/RISCVProcessors.td
+++ b/llvm/lib/Target/RISCV/RISCVProcessors.td
@@ -280,7 +280,8 @@ def SIFIVE_P670 : RISCVProcessorModel<"sifive-p670", NoSchedModel,
                                       [TuneNoDefaultUnroll,
                                        TuneConditionalCompressedMoveFusion,
                                        TuneLUIADDIFusion,
-                                       TuneAUIPCADDIFusion]>;
+                                       TuneAUIPCADDIFusion,
+                                       TuneNoSinkSplatOperands]>;
 
 def SYNTACORE_SCR1_BASE : RISCVProcessorModel<"syntacore-scr1-base",
                                               SyntacoreSCR1Model,



More information about the llvm-commits mailing list