[Mlir-commits] [mlir] [mlir][acc] Consistency between acc.loop and acc compute ops (PR #114549)
Razvan Lupusoru
llvmlistbot at llvm.org
Fri Nov 1 10:32:36 PDT 2024
================
@@ -1145,6 +1145,9 @@ def OpenACC_ParallelOp : OpenACC_Op<"parallel",
/// The i-th data operand passed.
Value getDataOperand(unsigned i);
+ /// Used to retrieve the block inside the op's region.
+ Block &getBody() { return getRegion().front(); }
----------------
razvanlupusoru wrote:
Agreed. I can do this in a follow-up MR.
https://github.com/llvm/llvm-project/pull/114549
More information about the Mlir-commits
mailing list