[all-commits] [llvm/llvm-project] 4daf30: [flang][Lower][OpenMP][NFC] tidy up PrivateReducti...
Tom Eccles via All-commits
all-commits at lists.llvm.org
Thu Feb 6 02:25:37 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4daf30709982fac07c7519032a9586323e276f4b
https://github.com/llvm/llvm-project/commit/4daf30709982fac07c7519032a9586323e276f4b
Author: Tom Eccles <tom.eccles at arm.com>
Date: 2025-02-06 (Thu, 06 Feb 2025)
Changed paths:
M flang/lib/Lower/OpenMP/PrivateReductionUtils.cpp
Log Message:
-----------
[flang][Lower][OpenMP][NFC] tidy up PrivateReductionUtils (#125867)
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