[llvm-branch-commits] [llvm] [llvm][dfa-jump-threading] Allow DFAJumpThreading with optsize (PR #83049)
Arthur Eubanks via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Tue Mar 5 15:10:31 PST 2024
aeubanks wrote:
> I don't think its a good idea to try and guess what the threshold should be. Likely, that is something specific targets would need to tune on their own via -dfa-cost-threshold=.
The inliner has a target-independent threshold and it's much more important than this pass, so I don't see why this pass can't do the same thing.
As for experimenting, I was hoping that you could just experiment locally with local changes to LLVM. Is it much easier to experiment with a flag in LLVM release? If so then this is fine.
This pass is already experimental (given it's not enabled by default) so I'm not too worried about regressing it in terms of binary size.
https://github.com/llvm/llvm-project/pull/83049
More information about the llvm-branch-commits
mailing list