Skip to content

Commit cd585cd

Browse files
tblahIcohedron
authored andcommitted
[flang][Lower][OpenMP][NFC] tidy up PrivateReductionUtils (llvm#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.
1 parent 8fcab5a commit cd585cd

File tree

1 file changed

+324
-224
lines changed

1 file changed

+324
-224
lines changed

0 commit comments

Comments
 (0)