[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 09:47:15 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 can't comment on the start of the method. Can you update the doc?

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


More information about the Mlir-commits mailing list