[llvm] [JumpThreading] Add a hook to override the duplication threshold (PR #111826)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 10 05:24:40 PDT 2024


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

Can we replace all of these cl::opts with pass parameters 

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


More information about the llvm-commits mailing list