[Mlir-commits] [mlir] [mlir][vector] Add a check to ensure input vector rank equals target shape rank (PR #127706)
Prakhar Dixit
llvmlistbot at llvm.org
Mon Feb 24 23:06:59 PST 2025
Prakhar-Dixit wrote:
> @Prakhar-Dixit Could you try to fix the error of tests?
I was wondering—since we are not emitting any error messages when the conditions fail—whether a diagnostic test like the one in invalid.mlir is required ?
```
if (originalSize.size() != targetShape->size())
return failure();
```
https://github.com/llvm/llvm-project/pull/127706
More information about the Mlir-commits
mailing list