llvm/llvm-project
GitHub で見るMetaRenamer command line options should be replaced with pass parameters
Open
#133,875 opened on 2025年4月1日
good first issuellvm:transforms
Repository metrics
- Stars
- (26,378 stars)
- PR merge metrics
- (平均マージ 1d 2h) (30d で 1,000 merged PRs)
説明
The metarenamer pass currently defines 5 cl::opts.
In general with the new pass manager, we should prefer to use named pass parameters and avoid using global options. For utility passes like this, which are only useful when manually running opt, there should be low friction to replacing them.
https://github.com/llvm/llvm-project/pull/133874 is an example of a simpler migration for another utility pass for reference.