[llvm] [JumpThreading] Add a hook to override options (PR #111826)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 11 04:44:36 PDT 2024


================
@@ -304,10 +300,9 @@ bool JumpThreadingPass::runImpl(Function &F_, FunctionAnalysisManager *FAM_,
   // size.
   if (BBDuplicateThreshold.getNumOccurrences())
----------------
arsenm wrote:

Partially, but I meant more parsing these as named parameters in the pass syntax. We should replace most cl::opts with named parameters in the pass pipeline 

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


More information about the llvm-commits mailing list