[all-commits] [llvm/llvm-project] f5a514: [openacc] Update acc.loop to expose data operands ...
Razvan Lupusoru via All-commits
all-commits at lists.llvm.org
Wed Nov 1 11:52:45 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f5a5142571c55bdc2aa188c63b7092b6b20b0e9c
https://github.com/llvm/llvm-project/commit/f5a5142571c55bdc2aa188c63b7092b6b20b0e9c
Author: Razvan Lupusoru <razvan.lupusoru at gmail.com>
Date: 2023-11-01 (Wed, 01 Nov 2023)
Changed paths:
M flang/lib/Lower/OpenACC.cpp
M mlir/include/mlir/Dialect/OpenACC/OpenACC.h
M mlir/include/mlir/Dialect/OpenACC/OpenACCOps.td
M mlir/lib/Dialect/OpenACC/IR/OpenACC.cpp
Log Message:
-----------
[openacc] Update acc.loop to expose data operands (#70954)
The compute and data constructs implement getNumDataOperands and
getDataOperand. The acc.loop operation similarly has multiple data
operands - thus it makes sense to expose them the same way.
For loop, only private and reduction operands are exposed this way.
Technically, acc.loop also holds cache operands - but these are hints
not a data attribute.
More information about the All-commits
mailing list