[all-commits] [llvm/llvm-project] 9e37da: [mlir][OpenMP] Convert reduction alloc region to L...
Tom Eccles via All-commits
all-commits at lists.llvm.org
Thu Aug 22 04:13:33 PDT 2024
Branch: refs/heads/users/tblah/separate-init-alloc_2
Home: https://github.com/llvm/llvm-project
Commit: 9e37da3b2eaace309d3b68fa36384430b5dc97cd
https://github.com/llvm/llvm-project/commit/9e37da3b2eaace309d3b68fa36384430b5dc97cd
Author: Tom Eccles <tom.eccles at arm.com>
Date: 2024-08-22 (Thu, 22 Aug 2024)
Changed paths:
M mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
M mlir/test/Target/LLVMIR/openmp-private.mlir
M mlir/test/Target/LLVMIR/openmp-reduction-array-sections.mlir
M mlir/test/Target/LLVMIR/openmp-reduction-byref.mlir
Log Message:
-----------
[mlir][OpenMP] Convert reduction alloc region to LLVMIR
The intention of this change is to ensure that allocas end up in the
entry block not spread out amongst complex reduction variable
initialization code.
The tests we have are quite minimized for readability and
maintainability, making the benefits less obvious. The use case for this
is when there are multiple reduction variables each will multiple blocks
inside of the init region for that reduction.
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