[all-commits] [llvm/llvm-project] 7e8b3f: [Flang] Add missing dependent dialects to MLIR pas...
Sergio Afonso via All-commits
all-commits at lists.llvm.org
Tue May 13 08:18:10 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7e8b3fea43f1dfa1d5611a70d887cba5d79b2da9
https://github.com/llvm/llvm-project/commit/7e8b3fea43f1dfa1d5611a70d887cba5d79b2da9
Author: Sergio Afonso <safonsof at amd.com>
Date: 2025-05-13 (Tue, 13 May 2025)
Changed paths:
M flang/include/flang/Optimizer/Transforms/Passes.td
M flang/lib/Optimizer/Transforms/CUFAddConstructor.cpp
M flang/lib/Optimizer/Transforms/CUFComputeSharedMemoryOffsetsAndSize.cpp
M flang/lib/Optimizer/Transforms/CUFGPUToLLVMConversion.cpp
M flang/lib/Optimizer/Transforms/CUFOpConversion.cpp
M flang/lib/Optimizer/Transforms/LoopVersioning.cpp
A flang/test/Transforms/dlti-dependency.fir
Log Message:
-----------
[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.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list