[all-commits] [llvm/llvm-project] 7ec320: [MLIR][OpenMP] Named recipe op's block args access...

Sergio Afonso via All-commits all-commits at lists.llvm.org
Tue Oct 15 03:50:52 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7ec32094933bbf0201ea0670209c090a00bf8d83
      https://github.com/llvm/llvm-project/commit/7ec32094933bbf0201ea0670209c090a00bf8d83
  Author: Sergio Afonso <safonsof at amd.com>
  Date:   2024-10-15 (Tue, 15 Oct 2024)

  Changed paths:
    M mlir/include/mlir/Dialect/OpenMP/OpenMPOps.td
    M mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp

  Log Message:
  -----------
  [MLIR][OpenMP] Named recipe op's block args accessors (NFC) (#112192)

This patch adds extra class declarations to the `omp.declare_reduction`
and `omp.private` operations to access the entry block arguments defined
by their regions. Some existing accesses to these arguments are updated
to use the new named methods to improve code readability.



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