This is an archive of the discontinued LLVM Phabricator instance.

[Flang][MLIR][OpenMP] Add support for logical eqv in worksharing-loop
ClosedPublic

Authored by DylanFleming-arm on Sep 7 2022, 11:37 AM.

Details

Summary

The patch adds the lowering from Flang parse-tree to FIR+OpenMP. The conversion code is also added in MLIR.

Depends on D132228

Diff Detail

Event Timeline

Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptSep 7 2022, 11:37 AM
DylanFleming-arm requested review of this revision.Sep 7 2022, 11:37 AM

Now appears to produce functionally correct code.

Herald added a reviewer: dcaballe. · View Herald Transcript
Herald added a project: Restricted Project. · View Herald Transcript
kiranchandramohan retitled this revision from [WIP][Flang][OpenMP] Add support for logical eqv in worksharing-loop to [Flang][MLIR][OpenMP] Add support for logical eqv in worksharing-loop.Feb 27 2023, 3:06 AM
kiranchandramohan edited the summary of this revision. (Show Details)

LGTM.

Note to self: Please add the relevant tests in flang/test/Fir/convert-to-llvm-openmp-and-fir.fir and mlir/test/Conversion/OpenMPToLLVM/convert-to-llvmir.mlir before submitting.

This revision is now accepted and ready to land.Feb 27 2023, 3:10 AM
flang/test/Fir/convert-to-llvm-openmp-and-fir.fir