[all-commits] [llvm/llvm-project] 51e5f6: [mlir][vector] Fix crash on invalid `permutation_m...

Rik Huijzer via All-commits all-commits at lists.llvm.org
Mon Dec 11 03:07:54 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 51e5f677c8d174e56bd0a312f71f248ba4cd0348
      https://github.com/llvm/llvm-project/commit/51e5f677c8d174e56bd0a312f71f248ba4cd0348
  Author: Rik Huijzer <github at huijzer.xyz>
  Date:   2023-12-11 (Mon, 11 Dec 2023)

  Changed paths:
    M mlir/lib/Dialect/Vector/IR/VectorOps.cpp
    M mlir/test/Dialect/Vector/invalid.mlir

  Log Message:
  -----------
  [mlir][vector] Fix crash on invalid `permutation_map` (#74925)

Without this patch, MLIR crashes with
```
Assertion failed: (getNumDims() == map.getNumResults() && "Number of results mismatch"), function compose, file AffineMap.cpp, line 537.
```
during parsing.




More information about the All-commits mailing list