Skip to content

MetaRenamer command line options should be replaced with pass parameters #133875

@arsenm

Description

@arsenm

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.

#133874 is an example of a simpler migration for another utility pass for reference.

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions