[all-commits] [llvm/llvm-project] 0017dc: [mlir][Vector] Use llvm::zip to avoid assertion fa...

Jianjian Guan via All-commits all-commits at lists.llvm.org
Tue Dec 13 18:27:11 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0017dc2d0ff89bd9fb93fd25ba787ba66a4de356
      https://github.com/llvm/llvm-project/commit/0017dc2d0ff89bd9fb93fd25ba787ba66a4de356
  Author: jacquesguan <Jianjian.Guan at streamcomputing.com>
  Date:   2022-12-14 (Wed, 14 Dec 2022)

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

  Log Message:
  -----------
  [mlir][Vector] Use llvm::zip to avoid assertion failed.

This patch fixes the issue https://github.com/llvm/llvm-project/issues/59455.
We could omit the un-changed dimensions in offsets and sizes, so llvm::zip_equal would fail in this case.

Reviewed By: Mogball

Differential Revision: https://reviews.llvm.org/D139815




More information about the All-commits mailing list