[all-commits] [llvm/llvm-project] 46da32: [flang][Lower][OpenMP][NFC] tidy up PrivateReducti...
Tom Eccles via All-commits
all-commits at lists.llvm.org
Wed Feb 5 06:56:28 PST 2025
Branch: refs/heads/users/tblah/init-region-cleanup-0
Home: https://github.com/llvm/llvm-project
Commit: 46da32a5df8aed05435567c56365fa7dfb1d41b0
https://github.com/llvm/llvm-project/commit/46da32a5df8aed05435567c56365fa7dfb1d41b0
Author: Tom Eccles <tom.eccles at arm.com>
Date: 2025-02-05 (Wed, 05 Feb 2025)
Changed paths:
M flang/lib/Lower/OpenMP/PrivateReductionUtils.cpp
Log Message:
-----------
[flang][Lower][OpenMP][NFC] tidy up PrivateReductionUtils
First part of a series of patches to improve private/reduction init and
cleanup region generation.
This commit is NFC. I factored out processing for each datatype into its
own method so that it is easier to keep track of what is being handled
where (I found the old gigantic init region generation function
difficult to navigate). The methods all share context in a helper class
to avoid having to pass a very large number of arguments.
I also removed the conflation between the mold argument and the mold
argument after loading. This should make it easier to avoid generating
dead uses of the mold argument in a later non-nfc patch.
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