[all-commits] [llvm/llvm-project] 4ff8f1: [MLIR][Vector] Extend elementwise pattern to suppo...

Nishant Patel via All-commits all-commits at lists.llvm.org
Wed Oct 15 06:51:44 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4ff8f118cc91870aed357be351230df63ef14dcf
      https://github.com/llvm/llvm-project/commit/4ff8f118cc91870aed357be351230df63ef14dcf
  Author: Nishant Patel <nishant.b.patel at intel.com>
  Date:   2025-10-15 (Wed, 15 Oct 2025)

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

  Log Message:
  -----------
  [MLIR][Vector] Extend elementwise pattern to support unrolling from higher rank to lower rank (#162515)

This PR enhances the elementwise unrolling pattern to support higher
rank to lower rank unroll. The approach is to add leading unit dims to
lower rank targetShape to match the rank of original vector (because
ExtractStridedSlice requires same rank to extractSlices), extract slice,
reshape to targetShape's rank and perform the operation.



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