[Mlir-commits] [mlir] [mlir][affine] Check the input vector sizes to be greater than 0 (PR #65293)

Sergei Grechanik llvmlistbot at llvm.org
Fri Sep 22 08:08:28 PDT 2023


================
@@ -1732,6 +1732,11 @@ void Vectorize::runOnOperation() {
     return signalPassFailure();
   }
 
+  if (llvm::any_of(vectorSizes, [](int64_t size) { return size == 0; })) {
----------------
sergei-grechanik wrote:

`==` -> `<=`?

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


More information about the Mlir-commits mailing list