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

Sergio Afonso via All-commits all-commits at lists.llvm.org
Thu Mar 13 07:48:42 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6ff33edf4d59803b4329a50361f94b7fd17bbdf8
      https://github.com/llvm/llvm-project/commit/6ff33edf4d59803b4329a50361f94b7fd17bbdf8
  Author: Sergio Afonso <safonsof at amd.com>
  Date:   2025-03-13 (Thu, 13 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 (#130789)

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