[all-commits] [llvm/llvm-project] 270790: [MLIR][OpenMP] Minor improvements to BlockArgOpenM...

Sergio Afonso via All-commits all-commits at lists.llvm.org
Tue Mar 11 08:59:40 PDT 2025


  Branch: refs/heads/users/skatrak/omp-blockarg-iface-uses
  Home:   https://github.com/llvm/llvm-project
  Commit: 270790bc25b1c39b667ff6112d9370aef54228cb
      https://github.com/llvm/llvm-project/commit/270790bc25b1c39b667ff6112d9370aef54228cb
  Author: Sergio Afonso <safonsof at amd.com>
  Date:   2025-03-11 (Tue, 11 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