[all-commits] [llvm/llvm-project] a8586b: [mlir][OpenMP] Change the syntax of omp.atomic.rea...
Shraiysh via All-commits
all-commits at lists.llvm.org
Mon Jan 10 02:50:06 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a8586b573e07ec428d03cd4f05eb15b28f742482
https://github.com/llvm/llvm-project/commit/a8586b573e07ec428d03cd4f05eb15b28f742482
Author: Shraiysh Vaishay <Shraiysh.Vaishay at amd.com>
Date: 2022-01-10 (Mon, 10 Jan 2022)
Changed paths:
M mlir/include/mlir/Dialect/OpenMP/OpenMPOps.td
M mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
M mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
M mlir/test/Dialect/OpenMP/invalid.mlir
M mlir/test/Dialect/OpenMP/ops.mlir
M mlir/test/Target/LLVMIR/openmp-llvm.mlir
Log Message:
-----------
[mlir][OpenMP] Change the syntax of omp.atomic.read op
This patch changes the syntax of omp.atomic.read to take the address of
destination, instead of having the value in a result. This will allow
using omp.atomic.read operation within an omp.atomic.capture operation
thus making its implementation less complex.
Reviewed By: peixin
Differential Revision: https://reviews.llvm.org/D116396
More information about the All-commits
mailing list