This is an archive of the discontinued LLVM Phabricator instance.

[MLIR][OpenMP] Add support for safelen clause
ClosedPublic

Authored by psoni2628 on Aug 19 2022, 8:49 AM.

Details

Summary

This supports translation from MLIR to LLVM IR using OMPIRBuilder for
OpenMP safelen clause in SIMD construct.

Diff Detail

Event Timeline

psoni2628 created this revision.Aug 19 2022, 8:49 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptAug 19 2022, 8:49 AM
psoni2628 requested review of this revision.Aug 19 2022, 8:49 AM
psoni2628 updated this revision to Diff 454028.Aug 19 2022, 8:52 AM
  • Run clang-format

Can you split this in two patches? One for the flang side and one for the MLIR side.

psoni2628 updated this revision to Diff 454101.Aug 19 2022, 1:44 PM
psoni2628 retitled this revision from [Flang][MLIR][OpenMP] Add support for safelen clause to [MLIR][OpenMP] Add support for safelen clause.
psoni2628 edited the summary of this revision. (Show Details)

Can you split this in two patches? One for the flang side and one for the MLIR side.

Sure. I have changed this patch into just the MLIR side. I will post the Flang patch once this gets merged.

ftynse accepted this revision.Aug 24 2022, 1:25 AM
This revision is now accepted and ready to land.Aug 24 2022, 1:25 AM
This revision was automatically updated to reflect the committed changes.