================
@@ -101,6 +101,11 @@ static cl::opt<bool> EnableMISchedLoadClustering(
     cl::desc("Enable load clustering in the machine scheduler"),
     cl::init(false));
 
+static cl::opt<bool>
+    EnableSelectOpt("riscv-select-opt", cl::Hidden,
----------------
topperc wrote:

> I think the impact won't be large, since the pass is early out before these 
> analysises actully run when enableSelectOptimize returns false .

The pass manager will run the analysis passes before the runOnFunction in the 
select optimize pass gets called. Unless those analysis passes do lazy updates 
and only compute something when they are queried, they will run before the 
early out.

https://github.com/llvm/llvm-project/pull/80124
_______________________________________________
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to