[Mlir-commits] [flang] [mlir] [NFC][OpenMP][mlir][flang] Move OMP offloading module attribute handling from flang to mlir (PR #186409)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Fri Mar 13 08:00:57 PDT 2026


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-mlir-openmp

Author: Jan Leyonberg (jsjodin)

<details>
<summary>Changes</summary>

This patch moves the OpenMP offloding module attributes handling from flang to mlir so that it can be reused in ClangIR was well.

Co-authored-by: Claude Opus 4.6 <noreply@<!-- -->anthropic.com>

---
Full diff: https://github.com/llvm/llvm-project/pull/186409.diff


6 Files Affected:

- (modified) flang/include/flang/Tools/CrossToolHelpers.h (+9-83) 
- (modified) flang/lib/Frontend/FrontendActions.cpp (+5-4) 
- (modified) flang/lib/Lower/OpenMP/Decomposer.cpp (+3-3) 
- (modified) flang/tools/bbc/bbc.cpp (+4-3) 
- (modified) mlir/include/mlir/Dialect/OpenMP/OpenMPDialect.h (+1) 
- (added) mlir/include/mlir/Dialect/OpenMP/OpenMPOffloadUtils.h (+105) 


``````````diff
Not Found
``````````

</details>


https://github.com/llvm/llvm-project/pull/186409


More information about the Mlir-commits mailing list