[all-commits] [llvm/llvm-project] a004da: [Canonicalize] Switch the default setting to "top ...

Chris Lattner via All-commits all-commits at lists.llvm.org
Tue May 25 13:42:32 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a004da0d77c4e0a8a17b4f84818d809b54b2079e
      https://github.com/llvm/llvm-project/commit/a004da0d77c4e0a8a17b4f84818d809b54b2079e
  Author: Chris Lattner <clattner at nondot.org>
  Date:   2021-05-25 (Tue, 25 May 2021)

  Changed paths:
    M mlir/include/mlir/Transforms/Passes.td
    M mlir/test/Conversion/MathToLLVM/convert-to-libm.mlir
    M mlir/test/Dialect/Affine/canonicalize.mlir
    M mlir/test/Dialect/Linalg/bufferize.mlir
    M mlir/test/Dialect/Linalg/canonicalize.mlir
    M mlir/test/Dialect/Linalg/fusion-tensor-pattern.mlir
    M mlir/test/Dialect/SCF/canonicalize.mlir
    M mlir/test/Dialect/SPIRV/Transforms/canonicalize.mlir
    M mlir/test/Dialect/Vector/canonicalize.mlir
    M mlir/test/Transforms/canonicalize.mlir
    M mlir/test/Transforms/scf-loop-unroll.mlir
    M mlir/test/Transforms/test-canonicalize.mlir

  Log Message:
  -----------
  [Canonicalize] Switch the default setting to "top down".

This provides a sizable compile time improvement by seeding
the worklist in an order that leads to less iterations of the
worklist.

This patch only changes the behavior of the Canonicalize pass
itself, it does not affect other passes that use the
GreedyPatternRewrite driver

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




More information about the All-commits mailing list