llvm/llvm-project
Auf GitHub ansehenMetaRenamer command line options should be replaced with pass parameters
Open
#133.875 geöffnet am 1. Apr. 2025
good first issuellvm:transforms
Repository-Metriken
- Stars
- (26.378 Stars)
- PR-Merge-Metriken
- (Durchschn. Merge 1T 2h) (1.000 gemergte PRs in 30 T)
Beschreibung
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.