[llvm] [CodeGen][BranchFolding] Add options to control common hoisting and block reordering (PR #205704)

Pengcheng Wang via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 1 00:31:04 PDT 2026


wangpc-pp wrote:

> If the point is to use these on some target, it shouldn't be a cl::opt. These are debug options and users should never be using them

I think the author wants to override it in `TargetPassConfig` via `createBranchFolder`.

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


More information about the llvm-commits mailing list