[all-commits] [llvm/llvm-project] 92e83a: [mlir][vector] Fold extractOp coming from broadcastOp

Thomas via All-commits all-commits at lists.llvm.org
Tue Oct 6 10:28:24 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 92e83afe44fbfd81ffd428bb41b7f760eee712f9
      https://github.com/llvm/llvm-project/commit/92e83afe44fbfd81ffd428bb41b7f760eee712f9
  Author: Thomas Raoux <thomasraoux at google.com>
  Date:   2020-10-06 (Tue, 06 Oct 2020)

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

  Log Message:
  -----------
  [mlir][vector] Fold extractOp coming from broadcastOp

Combine ExtractOp with scalar result with BroadcastOp source. This is useful to
be able to incrementally convert degenerated vector of one element into scalar.

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




More information about the All-commits mailing list