[all-commits] [llvm/llvm-project] fbbb33: [mlir] Fix crash when verifying linalg.transpose (...

Ian Wood via All-commits all-commits at lists.llvm.org
Tue Mar 18 12:33:48 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fbbb33f4001d24445f0a103f0a5464f129679a76
      https://github.com/llvm/llvm-project/commit/fbbb33f4001d24445f0a103f0a5464f129679a76
  Author: Ian Wood <ianwood2024 at u.northwestern.edu>
  Date:   2025-03-18 (Tue, 18 Mar 2025)

  Changed paths:
    M mlir/lib/Dialect/Utils/IndexingUtils.cpp
    M mlir/test/Dialect/Linalg/invalid.mlir
    M mlir/test/Dialect/Linalg/transform-op-pack.mlir

  Log Message:
  -----------
  [mlir] Fix crash when verifying linalg.transpose (#131733)

Adds checks in `isPermutationVector` for indices that are outside of the
bounds and removes the assert.

Signed-off-by: Ian Wood <ianwood2024 at u.northwestern.edu>



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list