Issue 133875
Summary MetaRenamer command line options should be replaced with pass parameters
Labels good first issue
Assignees
Reporter arsenm
    The [metarenamer pass](https://github.com/llvm/llvm-project/blob/6b647de031a7d590663a791a503525f21cb98d03/llvm/lib/Transforms/Utils/MetaRenamer.cpp#L38) 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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to