[all-commits] [llvm/llvm-project] bf2447: [OpenMPOpt] Null generic-mode wrappers for SPMDize...
Robert Imschweiler via All-commits
all-commits at lists.llvm.org
Fri Jul 31 13:22:55 PDT 2026
Branch: refs/heads/users/ro-i/rm-parallel-wrapper
Home: https://github.com/llvm/llvm-project
Commit: bf2447b257648635bcc0c33cccbbfb2269c8872a
https://github.com/llvm/llvm-project/commit/bf2447b257648635bcc0c33cccbbfb2269c8872a
Author: Robert Imschweiler <robert.imschweiler at amd.com>
Date: 2026-07-31 (Fri, 31 Jul 2026)
Changed paths:
M llvm/lib/Transforms/IPO/OpenMPOpt.cpp
M llvm/test/Transforms/OpenMP/get_hardware_num_threads_in_block_fold.ll
M llvm/test/Transforms/OpenMP/is_spmd_exec_mode_fold.ll
A llvm/test/Transforms/OpenMP/spmd_parallel_wrapper_removal.ll
M llvm/test/Transforms/OpenMP/spmdization.ll
M llvm/test/Transforms/OpenMP/spmdization_assumes.ll
Log Message:
-----------
[OpenMPOpt] Null generic-mode wrappers for SPMDized kernels
If a kernel gets SPMDized, it doesn't need the wrapper function that is
passed to __kmpc_parallel_60. Keeping the dead wrapper function can lead
to lots of misleading "local memory global used by non-kernel function"
AMDGPU backend warnings.
Let OpenMPOpt null the wrapper argument such that DCE can then remove
the corresponding dead functions.
Claude assisted with this patch.
Commit: d05d258a20e314281c9dea3f84a05a896632c4b6
https://github.com/llvm/llvm-project/commit/d05d258a20e314281c9dea3f84a05a896632c4b6
Author: Robert Imschweiler <robert.imschweiler at amd.com>
Date: 2026-07-31 (Fri, 31 Jul 2026)
Changed paths:
M llvm/test/Transforms/OpenMP/spmdization_guarding.ll
M llvm/test/Transforms/OpenMP/spmdization_guarding_two_reaching_kernels.ll
M llvm/test/Transforms/OpenMP/spmdization_no_guarding_two_reaching_kernels.ll
Log Message:
-----------
fix nvptx tests
Commit: 6bc4a8caefdb0c1a35a1f9e79104c68bf5060444
https://github.com/llvm/llvm-project/commit/6bc4a8caefdb0c1a35a1f9e79104c68bf5060444
Author: Robert Imschweiler <robert.imschweiler at amd.com>
Date: 2026-07-31 (Fri, 31 Jul 2026)
Changed paths:
M llvm/lib/Transforms/IPO/OpenMPOpt.cpp
Log Message:
-----------
const -> constexpr
Compare: https://github.com/llvm/llvm-project/compare/cc4dcffef226...6bc4a8caefdb
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