[all-commits] [llvm/llvm-project] b0bc2f: [OpenMP][LLVM] Fix access to reduction args of `om...
Kareem Ergawy via All-commits
all-commits at lists.llvm.org
Mon Jun 24 02:25:53 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b0bc2f691254adae7042052b8aff6aa728fd6a2d
https://github.com/llvm/llvm-project/commit/b0bc2f691254adae7042052b8aff6aa728fd6a2d
Author: Kareem Ergawy <kareem.ergawy at amd.com>
Date: 2024-06-24 (Mon, 24 Jun 2024)
Changed paths:
M mlir/include/mlir/Dialect/OpenMP/OpenMPOps.td
M mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
M mlir/test/Target/LLVMIR/openmp-private.mlir
Log Message:
-----------
[OpenMP][LLVM] Fix access to reduction args of `omp.parallel`. (#96426)
Fix for Fujitsu test suite test: 0275_0032.f90. The MLIR to LLVM
translation logic assumed that reduction arguments to an `omp.parallel`
op are always the last set of arguments to the op. However, this is a
wrong assumption since private args come afterward.
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