[all-commits] [llvm/llvm-project] b5f05d: [mlir][OpenMP] Translate reductions on taskloop
Sairudra More via All-commits
all-commits at lists.llvm.org
Fri Jun 12 01:51:52 PDT 2026
Branch: refs/heads/users/saieiei/taskloop-reduction
Home: https://github.com/llvm/llvm-project
Commit: b5f05dce916972ea417aafeb3e798f61a692b3ce
https://github.com/llvm/llvm-project/commit/b5f05dce916972ea417aafeb3e798f61a692b3ce
Author: Sairudra More <sairudra60 at gmail.com>
Date: 2026-06-12 (Fri, 12 Jun 2026)
Changed paths:
M mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
A mlir/test/Target/LLVMIR/openmp-taskloop-reduction.mlir
M mlir/test/Target/LLVMIR/openmp-todo.mlir
Log Message:
-----------
[mlir][OpenMP] Translate reductions on taskloop
Add LLVM IR translation for reduction and in_reduction clauses on omp.taskloop.context.
For taskloop reduction, emit the implicit taskgroup reduction setup and map each generated task to runtime-provided private reduction storage through __kmpc_task_reduction_get_th_data. For in_reduction, use the same runtime lookup path with a null descriptor to join an enclosing task reduction context.
Unsupported byref, cleanup, and two-argument initializer forms remain diagnosed.
Add MLIR translation tests for the supported taskloop reduction and in_reduction cases.
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