[MLIR][Pass] Have PassRegistryEntry own pass strings
authorDaniel Resnick <danielzresnick@gmail.com>
Tue, 22 Feb 2022 17:41:48 +0000 (10:41 -0700)
committerDaniel Resnick <danielzresnick@gmail.com>
Wed, 23 Feb 2022 17:04:04 +0000 (10:04 -0700)
commite7f4ea8abeed5063ea21e508d85ef104be8e4505
tree18325ffd3f348e08bdc3f1907d213dff18c98783
parente9d2f173913da17f4e63b68fcee6d7f30d9e2a56
[MLIR][Pass] Have PassRegistryEntry own pass strings

This eliminates the requirement that pass-related strings outlive pass
instances, which will facilitate future work enabling dynamic passes
written in other languages.

Differential Revision: https://reviews.llvm.org/D120341
mlir/include/mlir/Pass/PassRegistry.h