diff options
author | Kareem Ergawy <kareem.ergawy@amd.com> | 2024-12-05 05:23:49 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-05 05:23:49 +0100 |
commit | 7f72d71de7c3b7d36d9f463b1459a6d2f6c989e6 (patch) | |
tree | 7e9a288a184b30034b6e9c642ce3a521fbd31595 /llvm/unittests/ProfileData/MemProfTest.cpp | |
parent | 7b8cf147addf7d3fb4630475c40153226f5fdbd0 (diff) | |
download | llvm-7f72d71de7c3b7d36d9f463b1459a6d2f6c989e6.zip llvm-7f72d71de7c3b7d36d9f463b1459a6d2f6c989e6.tar.gz llvm-7f72d71de7c3b7d36d9f463b1459a6d2f6c989e6.tar.bz2 |
[OpenMP][OMPIRBuilder] Refactor reduction initialization logic into one util (#118447)
This refactors the logic needed to emit init logic for reductions by
moving some duplicated code into a shared util. The logic for doing is
quite involved and is needed for any construct that has reductions.
Moreover, when a construct has both private and reduction clauses, both
sets of clauses need to cooperate with each other when emitting the
logic needed for allocation and initialization. Therefore, this PR
clearly sets the boundaries for the logic needed to initialize
reductions.
Diffstat (limited to 'llvm/unittests/ProfileData/MemProfTest.cpp')
0 files changed, 0 insertions, 0 deletions