This patch adds lowering from omp.atomic.update to LLVM IR. Whenever a
special LLVM IR instruction is available for the operation, atomicrmw
instruction is emitted, otherwise a compare-exchange loop based update
is emitted.
Depends on D119522
Differential D119657
[OpenMP][mlir] Lowering for omp.atomic.update shraiysh on Feb 12 2022, 11:33 PM. Authored by
Details This patch adds lowering from omp.atomic.update to LLVM IR. Whenever a Depends on D119522
Diff Detail
Event Timeline
Comment Actions Thanks for the review @ftynse. Addressed comments.
Comment Actions Handle multiple operations in update region. Comment Actions Requesting review again, because added translation for multiple operations in update region.
Comment Actions Thanks for the review @peixin. Addressed comments.
Comment Actions The lowering for memory-order-clause and hint clause will be in future work, right?
Comment Actions Thanks for the review @peixin. Addressed comments.
|
Please do not commit commented-out code.