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

Pengcheng Wang via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 11 00:21:29 PDT 2024


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

Done. I added an Option so that the user can override all the cl::opts.

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


More information about the llvm-commits mailing list