diff options
| author | Dylan Fleming <Dylan.Fleming@arm.com> | 2022-08-08 14:04:45 +0000 |
|---|---|---|
| committer | Dylan Fleming <Dylan.Fleming@arm.com> | 2022-08-08 14:27:32 +0000 |
| commit | 5784199dd1c12be098d3ac8ca7b91dc719539bfd (patch) | |
| tree | 9dcd52c3cf6629b8b56e99058d15541dd61a26a0 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | ba9dc5f577389db2cc706c0c66615f430a55d153 (diff) | |
[NFC][Flang][OpenMP] Refactor OpenMP.cpp::genOpenMPReduction
This patch serves two main purposes:
Firstly, to split some of the logic into a seperate method
to try and improve readability
On top of this, it aims to make creating the reductions more generic.
That way, subsequent patches adding reductions shouldn't need
to add a significant amount of extra logic checks, such as checking
for specific operators.
Reviewed By: awarzynski
Differential Revision: https://reviews.llvm.org/D131161
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
