This is an archive of the discontinued LLVM Phabricator instance.

[WIP][MLIR][OMPIRBuilder] Lower OpenMP MLIR target attributes to LLVM IR
Needs ReviewPublic

Authored by domada on Mar 31 2023, 4:05 AM.

Details

Summary

OpenMP MLIR attributes are converted to LLVM IR at the end of OpenMP MLIR lowering.

OpenMP Task operation requires additional wrapper which is generated by the callback function as the part of finalization process. Finalization process is done after lowering of OpenMP MLIR target attributes. In consequence wrapper function inherits target attributes from its parent .

Added tests for checking the correctness of the lowering.

Diff Detail

Event Timeline

domada created this revision.Mar 31 2023, 4:05 AM
Herald added a project: Restricted Project. · View Herald Transcript
domada requested review of this revision.Mar 31 2023, 4:05 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald Transcript
domada updated this revision to Diff 515258.Apr 20 2023, 2:16 AM

Patch rebased

domada retitled this revision from [MLIR][OMPIRBuilder] Lower OpenMP MLIR target attributes to LLVM IR to [WIP][MLIR][OMPIRBuilder] Lower OpenMP MLIR target attributes to LLVM IR.Apr 24 2023, 7:50 AM