[Mlir-commits] [mlir] [mlir][mesh] Add collective communication operations (PR #71960)

Chengji Yao llvmlistbot at llvm.org
Sun Nov 12 22:37:57 PST 2023


================
@@ -96,6 +166,12 @@ LogicalResult ClusterOp::verify() {
   return success();
 }
 
+SmallVector<int64_t> ClusterOp::canonicalDimSizes() {
+  SmallVector<int64_t> result;
+  canonicalDimSizes(std::back_inserter(result));
----------------
yaochengji wrote:

`std::back_inserter` is a feature since c++20. @joker-eph are we supposed to use this? Because I remember llvm only requires the compiler support c++17.

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


More information about the Mlir-commits mailing list