[all-commits] [llvm/llvm-project] a58361: [mlir][vector] Fix error handling in Vectorization...

Matthias Springer via All-commits all-commits at lists.llvm.org
Mon Dec 19 01:24:20 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a583616918ec2984092c99363f200dd31642859a
      https://github.com/llvm/llvm-project/commit/a583616918ec2984092c99363f200dd31642859a
  Author: Matthias Springer <springerm at google.com>
  Date:   2022-12-19 (Mon, 19 Dec 2022)

  Changed paths:
    M mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp
    M mlir/test/Dialect/Linalg/vectorization.mlir

  Log Message:
  -----------
  [mlir][vector] Fix error handling in VectorizationState::initState

This function used to create new ops even if the vectorization failed. Those ops were then folded away. This caused a failure of the GreedyPatternRewriter, which no longer terminated (each time the IR is modified => one more iteration).

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




More information about the All-commits mailing list