[libc-commits] [clang] [clang-tools-extra] [compiler-rt] [libc] [llvm] [mlir] [flang] [mlir][Linalg] Support dynamic shapes in `lower_pack` transform (PR #76003)

via libc-commits libc-commits at lists.llvm.org
Tue Dec 19 20:58:48 PST 2023


================
@@ -1089,7 +1089,7 @@ collapseOpIterationDims(LinalgType op,
 
 struct LowerPackResult {
   tensor::PadOp padOp;
-  tensor::ExpandShapeOp expandShapeOp;
+  Operation *expandShapeOp;
----------------
srcarroll wrote:

Not actually sure what would be appropriate here.  Alternatively, we could have two separate fields for the `ExpandShapeOp` and `ReshapeOp`, but I haven't looked into the implications of this yet.  I welcome suggestions.

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


More information about the libc-commits mailing list