llvm-project
7e8b3fea - [Flang] Add missing dependent dialects to MLIR passes (#139260)

Commit
217 days ago
[Flang] Add missing dependent dialects to MLIR passes (#139260) This patch updates several passes to include the DLTI dialect, since their use of the `fir::support::getOrSetMLIRDataLayout()` utility function could, in some cases, require this dialect to be loaded in advance. Also, the `CUFComputeSharedMemoryOffsetsAndSize` pass has been updated with a dependency to the GPU dialect, as its invocation to `cuf::getOrCreateGPUModule()` would result in the same kind of error if no other operations or attributes from that dialect were present in the input MLIR module.
Author
Parents
Loading