[llvm-branch-commits] [llvm] [llvm][dfa-jump-threading] Allow DFAJumpThreading with optsize (PR #83049)

Paul Kirth via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Feb 26 15:00:17 PST 2024


ilovepi wrote:

> Can we have a more principled approach to determine when to allow this pass to run than a `cl::opt`? For example, change the `CostThreshold` in the pass depending on whether or not the function has `optsize`.

Sure. I can take a look at doing it that way instead. it will probably be much cleaner.

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


More information about the llvm-branch-commits mailing list