[llvm] [RISCV] Split regalloc between RVV and other (PR #72096)

Piyou Chen via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 13 07:42:53 PST 2023


================
@@ -89,6 +90,10 @@ static cl::opt<bool>
                            cl::desc("Enable the loop data prefetch pass"),
                            cl::init(true));
 
+static cl::opt<bool> EnableSplitRegAlloc("riscv-split-regalloc", cl::Hidden,
+                                   cl::desc("Enable Split RegisterAlloc for RVV"),
+                                   cl::init(false));
+
----------------
BeMg wrote:

Thanks for reviewing.

I think the splitting register allocation only gain benefit when the following optimization is ready. Perhaps we can enable it by default when the following optimizations are stable.

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


More information about the llvm-commits mailing list