[all-commits] [llvm/llvm-project] 75aa62: [mlir][vector] Add a check to ensure input vector ...

Longsheng Mou via All-commits all-commits at lists.llvm.org
Thu Jul 24 19:37:54 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 75aa629269c2cea94352f4029a84668bf157dc86
      https://github.com/llvm/llvm-project/commit/75aa629269c2cea94352f4029a84668bf157dc86
  Author: Longsheng Mou <longshengmou at gmail.com>
  Date:   2025-07-25 (Fri, 25 Jul 2025)

  Changed paths:
    M mlir/lib/Dialect/Vector/Transforms/VectorUnroll.cpp
    M mlir/test/Dialect/Vector/vector-transfer-unroll.mlir

  Log Message:
  -----------
  [mlir][vector] Add a check to ensure input vector rank equals target shape rank (#149239)

The crash is caused because, during IR transformation, the
vector-unrolling pass (using ExtractStridedSliceOp) attempts to slice an
input vector of higher rank using a target vector of lower rank, which
is not supported. Fixes #148368.



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