[llvm-branch-commits] [llc] Respect shouldDefaultToNewPM (PR #214572)

Aiden Grossman via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu Aug 6 22:52:26 PDT 2026


boomanaiden154 wrote:

> switch llc only when GIsel is supported.

I think this makes sense for the vast majority of targets.

> clang and other frontends would still plumb options through the driver (or is it the plan to make this the master gating option ?)

Frontends that need a lot of control should query this flag. https://github.com/llvm/llvm-project/pull/214571

For frontends that don't need less control (i.e., don't need to set PassBuilderOptions), I'll probably end up implementing a common abstraction.

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


More information about the llvm-branch-commits mailing list