[llvm] Fix missing/outdated pass options in PassRegistry.def (PR #146160)
Meredith Julian via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 30 12:47:50 PDT 2025
mjulian31 wrote:
Yeah I considered adding a test but wasn't sure how to frame it. The real source of truth for pass options are the parsing functions, and there isn't a great way to extract all possible options from these as they are all structured a little differently. I suppose you could catch old options that don't exist any more by just testing every option, but it wouldn't help with new missing options, which seemed to be the main problem. I agree it would be a bigger change needed to declare them more systematically.
https://github.com/llvm/llvm-project/pull/146160
More information about the llvm-commits
mailing list