[all-commits] [llvm/llvm-project] 64716b: [GreedyPatternRewriter] Introduce a config object ...
Chris Lattner via All-commits
all-commits at lists.llvm.org
Mon May 24 12:48:44 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 64716b2c39c10a3ea3a893da6106d2d55a0e8deb
https://github.com/llvm/llvm-project/commit/64716b2c39c10a3ea3a893da6106d2d55a0e8deb
Author: Chris Lattner <clattner at nondot.org>
Date: 2021-05-24 (Mon, 24 May 2021)
Changed paths:
M mlir/include/mlir/Transforms/FoldUtils.h
M mlir/include/mlir/Transforms/GreedyPatternRewriteDriver.h
M mlir/lib/Transforms/Canonicalizer.cpp
M mlir/lib/Transforms/Utils/FoldUtils.cpp
M mlir/lib/Transforms/Utils/GreedyPatternRewriteDriver.cpp
Log Message:
-----------
[GreedyPatternRewriter] Introduce a config object that allows controlling internal parameters. NFC.
This exposes the iterations and top-down processing as flags, and also
allows controlling whether region simplification is desirable for a client.
This allows deleting some duplicated entrypoints to
applyPatternsAndFoldGreedily.
This also deletes the Constant Preprocessing pass, which isn't worth it
on balance.
All defaults are all kept the same, so no one should see a behavior change.
Differential Revision: https://reviews.llvm.org/D102988
More information about the All-commits
mailing list