This is an archive of the discontinued LLVM Phabricator instance.

[mlir] Fix merging of delayed registrations during DialectRegistry::appendTo
ClosedPublic

Authored by springerm on Jan 25 2022, 10:36 AM.

Details

Summary

The existing implementation called DenseMap::insert, which is a no-op if the map already contains an entry with the same key.

Diff Detail

Event Timeline

springerm created this revision.Jan 25 2022, 10:36 AM
springerm requested review of this revision.Jan 25 2022, 10:36 AM
mehdi_amini accepted this revision.Jan 25 2022, 10:40 AM

Nice find!

This revision is now accepted and ready to land.Jan 25 2022, 10:40 AM
This revision was landed with ongoing or failed builds.Jan 26 2022, 12:29 AM
This revision was automatically updated to reflect the committed changes.