[Mlir-commits] [mlir] [mlir][OpenMP] Standardise representation of reduction clause (PR #96215)

Sergio Afonso llvmlistbot at llvm.org
Wed Jun 26 05:52:46 PDT 2024


================
@@ -198,6 +199,7 @@ struct SimdlenClauseOps {
 
 struct TaskReductionClauseOps {
   llvm::SmallVector<Value> taskReductionVars;
+  llvm::SmallVector<bool> taskReductionVarsByRef;
----------------
skatrak wrote:

I personally prefer this name "template" to what's done for in-reduction and reduction. Would you agree about making the change and renaming `InReductionClauseOps::inReductionVarsByRef` and `ReductionClauseOps::reductionVarsByRef`?

https://github.com/llvm/llvm-project/pull/96215


More information about the Mlir-commits mailing list