[all-commits] [llvm/llvm-project] 1bfde5: [MLIR][OpenMP] Refactor omp dialect utils headers, ...
Sergio Afonso via All-commits
all-commits at lists.llvm.org
Thu Aug 6 05:12:26 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1bfde5fd3b8f809fc7ab1ce32862276144783ef5
https://github.com/llvm/llvm-project/commit/1bfde5fd3b8f809fc7ab1ce32862276144783ef5
Author: Sergio Afonso <safonsof at amd.com>
Date: 2026-08-06 (Thu, 06 Aug 2026)
Changed paths:
M clang/lib/CIR/CodeGen/CIRGenModule.cpp
M clang/tools/cir-translate/cir-translate.cpp
M flang/tools/bbc/bbc.cpp
M mlir/include/mlir/Dialect/OpenMP/OpenMPDialect.h
R mlir/include/mlir/Dialect/OpenMP/OpenMPUtils.h
M mlir/include/mlir/Dialect/OpenMP/Utils/Utils.h
M mlir/lib/Dialect/OpenMP/Utils/Utils.cpp
M mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
Log Message:
-----------
[MLIR][OpenMP] Refactor omp dialect utils headers, NFC (#213648)
This patch implements some non-functional refactoring changes:
- It consolidates the two existing "utils" headers into one.
- It renames fields and arguments to the `OffloadModuleOpts` structure
to follow the MLIR style guide and more closely match the corresponding
`OffloadModuleInterface` attributes.
- It removes comments in OpenMP-to-LLVMIR translation referring to Flang
frontend options associated to the `OffloadModuleInterface`.
Commit: 105e9f1be4962318a8ec8adedb7b37eec1674ed4
https://github.com/llvm/llvm-project/commit/105e9f1be4962318a8ec8adedb7b37eec1674ed4
Author: Sergio Afonso <safonsof at amd.com>
Date: 2026-08-06 (Thu, 06 Aug 2026)
Changed paths:
M mlir/lib/Dialect/OpenMP/Utils/Utils.cpp
Log Message:
-----------
[MLIR][OpenMP] Ensure -fopenmp-force-usm doesn't override requirements (#213649)
The `mlir::omp::setOffloadModuleInterfaceAttributes` utility function
can currently override any pre-existing OpenMP `requires` clauses in the
module. This doesn't cause any problems at the moment because all calls
to this function happen before any other `requires` are processed.
However, it's safer to make sure it never deletes pre-existing flags in
case the same function is reused in a different context.
Compare: https://github.com/llvm/llvm-project/compare/db89f5c0c9b0...105e9f1be496
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