[Mlir-commits] [mlir] [MLIR] Allowing unsupported conv2d op to fail gracefully from vectorization (PR #130181)
Zhuoran Yin
llvmlistbot at llvm.org
Tue Mar 11 07:40:08 PDT 2025
================
@@ -1939,6 +1939,127 @@ vectorizeInsertSliceOpPrecondition(tensor::InsertSliceOp sliceOp,
return success();
}
+namespace {
+bool isCastOfBlockArgument(Operation *op) {
+ return isa<CastOpInterface>(op) && op->getNumOperands() == 1 &&
+ isa<BlockArgument>(op->getOperand(0));
+}
----------------
jerryyin wrote:
Thanks for pointing out! I tends to use anonymous namespace instead of static and just know about this llvm style guide.
https://github.com/llvm/llvm-project/pull/130181
More information about the Mlir-commits
mailing list