This is an archive of the discontinued LLVM Phabricator instance.

[mlir][Pass] Allow duplicate pass registration.
ClosedPublic

Authored by rriddle on Apr 10 2020, 2:47 PM.

Details

Summary

With users registering their own dependencies, duplicate pass registration becomes more and more common. This revision relaxes that pass registration be unique. This is safe to assume given that we key on the passID, which is guaranteed to be unique per pass class.

Diff Detail

Event Timeline

rriddle created this revision.Apr 10 2020, 2:47 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 10 2020, 2:47 PM
rsuderman accepted this revision.Apr 10 2020, 2:48 PM
This revision is now accepted and ready to land.Apr 10 2020, 2:48 PM
This revision was automatically updated to reflect the committed changes.