[Mlir-commits] [mlir] [Mlir] decompose generic by unfolding projected permutation crash fix (PR #122449)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Mon Jan 13 00:47:40 PST 2025
================
@@ -159,6 +160,16 @@ LogicalResult DecomposeProjectedPermutation::matchAndRewrite(
auto map = op.getMatchingIndexingMap(&opOperand);
if (!map.isProjectedPermutation(false))
return failure();
+
+ // If we have any inputs that aren't memref or ranked tensor types, reject
----------------
GrumpyPigSkin wrote:
Okay, is `ShapedType` appropriate for the check, or should I use `RankedTensorType` ?
https://github.com/llvm/llvm-project/pull/122449
More information about the Mlir-commits
mailing list