[all-commits] [llvm/llvm-project] cc7cb7: [MLIR][OpenMP] Minor improvements to BlockArgOpenM...
Sergio Afonso via All-commits
all-commits at lists.llvm.org
Wed Mar 12 04:53:42 PDT 2025
Branch: refs/heads/users/skatrak/omp-blockarg-iface-uses
Home: https://github.com/llvm/llvm-project
Commit: cc7cb76e135918ffb86ddfc193b1b66c0948e42c
https://github.com/llvm/llvm-project/commit/cc7cb76e135918ffb86ddfc193b1b66c0948e42c
Author: Sergio Afonso <safonsof at amd.com>
Date: 2025-03-12 (Wed, 12 Mar 2025)
Changed paths:
M mlir/docs/Dialects/OpenMPDialect/_index.md
M mlir/include/mlir/Dialect/OpenMP/OpenMPOpsInterfaces.td
M mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
Log Message:
-----------
[MLIR][OpenMP] Minor improvements to BlockArgOpenMPOpInterface, NFC
This patch introduces a use for the new `getBlockArgsPairs` to avoid having to
manually list each applicable clause.
Also, the `numClauseBlockArgs()` function is introduced, which simplifies the
implementation of the interface's verifier and enables better memory handling
within `getBlockArgsPairs`.
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