[all-commits] [llvm/llvm-project] 7becf0: [mlir][vector] Fold extract(broadcast) of same rank

Lei Zhang via All-commits all-commits at lists.llvm.org
Thu Apr 7 10:03:46 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7becf0f6cd31ea7462c5e18a88cb2f7a2c508886
      https://github.com/llvm/llvm-project/commit/7becf0f6cd31ea7462c5e18a88cb2f7a2c508886
  Author: Lei Zhang <antiagainst at google.com>
  Date:   2022-04-07 (Thu, 07 Apr 2022)

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

  Log Message:
  -----------
  [mlir][vector] Fold extract(broadcast) of same rank

This case is handled in neither the folding or canonicalization
patterns. The folding pattern cannot generate new broadcast ops,
so it should be handled by the canonicalization pattern.

Reviewed By: ThomasRaoux

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




More information about the All-commits mailing list