This is an archive of the discontinued LLVM Phabricator instance.

[mlir] Fix crash when adding nested dialect extensions
ClosedPublic

Authored by springerm on Aug 25 2023, 5:09 AM.

Details

Summary

A dialect extension can add additional dialect extensions in its apply function. This used to crash when the vector of extensions was internally reallocated while it is being iterated over.

Diff Detail