[mlir] Fix crash when adding nested dialect extensions
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. Differential Revision: https://reviews.llvm.org/D158838
Loading
Please sign in to comment