[llvm] [RISCV] Update SiFive7's scheduling models with their optimizations on permutation instructions (PR #160763)

Min-Yih Hsu via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 26 11:07:21 PDT 2025


================
@@ -169,6 +169,64 @@ class SiFive7GetOrderedReductionCycles<string mx, int sew, int VLEN> {
   int c = !mul(6, VLUpperBound);
 }
 
+class isSingleDLEN<string mx> {
+  bit c = !or(!eq(mx, "MF2"), !or(!eq(mx, "MF4"), !eq(mx, "MF8")));
----------------
mshockwave wrote:

That is correct.

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


More information about the llvm-commits mailing list