[PATCH] D77360: [mlir][Linalg] Extend linalg,reshape to operate on tensors

River Riddle via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 2 21:08:59 PDT 2020


rriddle added inline comments.


================
Comment at: mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp:514
+    int64_t size = 1;
+    if (llvm::any_of(band,
+                     [](int64_t v) { return v == ShapedType::kDynamicSize; }))
----------------
nit: llvm::is_contained(...)


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D77360/new/

https://reviews.llvm.org/D77360





More information about the llvm-commits mailing list