diff options
author | Sergio Afonso <safonsof@amd.com> | 2025-05-13 16:17:49 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-05-13 16:17:49 +0100 |
commit | 7e8b3fea43f1dfa1d5611a70d887cba5d79b2da9 (patch) | |
tree | f6c4cf08d93010e9697dc6f1df19d028ca396381 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | bbb7f0148177d332df80b5cfdc7d161dca289056 (diff) | |
download | llvm-7e8b3fea43f1dfa1d5611a70d887cba5d79b2da9.zip llvm-7e8b3fea43f1dfa1d5611a70d887cba5d79b2da9.tar.gz llvm-7e8b3fea43f1dfa1d5611a70d887cba5d79b2da9.tar.bz2 |
[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.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions