This is an archive of the discontinued LLVM Phabricator instance.

[flang][openmp] Parallel reduction FIR lowering
ClosedPublic

Authored by elmcdonough on Jun 29 2023, 9:25 PM.

Details

Summary

This patch extends the logic for lowering loop construct reductions to parallel block reductions.

Diff Detail

Event Timeline

elmcdonough created this revision.Jun 29 2023, 9:25 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald Transcript
elmcdonough requested review of this revision.Jun 29 2023, 9:25 PM

LG.

Will you be able to add the lowering to LLVM code soon?

flang/lib/Lower/Bridge.cpp
2201–2209

Nit: Braces here as well.

This revision is now accepted and ready to land.Jun 30 2023, 5:57 AM

Added curly brackets to if block.

@kiranchandramohan I can get started on the FIR -> LLVM IR lowering.

This revision was automatically updated to reflect the committed changes.
flang/lib/Lower/OpenMP.cpp