[Mlir-commits] [mlir] [mlir][vector] Determine vector sizes from the result shape in the ca… (PR #88249)
Han-Chung Wang
llvmlistbot at llvm.org
Tue Apr 16 13:49:09 PDT 2024
================
@@ -1525,6 +1533,17 @@ vectorizeAsTensorPackOp(RewriterBase &rewriter, tensor::PackOp packOp,
(void)status; // prevent unused variable warning on non-assert builds.
assert(succeeded(status) && "failed to reify result shapes");
+ ArrayRef<int64_t> resultTensorShape = packOp.getDestType().getShape();
----------------
hanhanW wrote:
I probably missed it in the previous review. The comment is updated, so this is resolved.
https://github.com/llvm/llvm-project/pull/88249
More information about the Mlir-commits
mailing list