[mlir] Fix a rare use-after free in dialect loading
applyExtensions can load further dialects, invalidating the reference to the dialect pointer in the dialects DenseMap. Capture the pointer to prevent that from happening.
Loading
Please sign in to comment