This is an archive of the discontinued LLVM Phabricator instance.

[mlir][openacc] Translate UpdateOp to LLVM IR
ClosedPublic

Authored by clementval on May 12 2021, 5:30 PM.

Details

Summary

Add translation to LLVM IR for the UpdateOp with host and device operands.
Translation is done with call using the runtime. This is done in a similar way as
D101504 and D102381.

Diff Detail

Event Timeline

clementval created this revision.May 12 2021, 5:30 PM
clementval requested review of this revision.May 12 2021, 5:30 PM

Simplify test case and update after D102381 updates.

clementval added a project: Restricted Project.May 18 2021, 5:11 PM
ftynse accepted this revision.May 20 2021, 1:36 AM
ftynse added inline comments.
mlir/lib/Target/LLVMIR/Dialect/OpenACC/OpenACCToLLVMIRTranslation.cpp
37

Naming nit, we tend to use the kGlobalConstantName style.

This revision is now accepted and ready to land.May 20 2021, 1:36 AM

Rebase + address nit

This revision was landed with ongoing or failed builds.May 26 2021, 8:42 AM
This revision was automatically updated to reflect the committed changes.
clementval marked an inline comment as done.