[all-commits] [llvm/llvm-project] b9bdff: [mlir][Transforms][NFC] CSE: Add C++ entry point
Matthias Springer via All-commits
all-commits at lists.llvm.org
Sun Jul 2 23:48:49 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b9bdff49399b0d5b685bf3918817e3ef2dd34eb4
https://github.com/llvm/llvm-project/commit/b9bdff49399b0d5b685bf3918817e3ef2dd34eb4
Author: Matthias Springer <me at m-sp.org>
Date: 2023-07-03 (Mon, 03 Jul 2023)
Changed paths:
M mlir/include/mlir/IR/PatternMatch.h
A mlir/include/mlir/Transforms/CSE.h
M mlir/lib/Transforms/CSE.cpp
Log Message:
-----------
[mlir][Transforms][NFC] CSE: Add C++ entry point
* All IR modifications are done with a rewriter.
* The new C++ entry point takes a `RewriterBase &`, which may have a listener attached to it.
This revision is useful because it allows users to run CSE and track IR modifications via a listener that can be attached to the rewriter.
This is a reupload. The original CL was reverted (9979417d4db4) due to a memory leak. The memory leak is unrelated to this change and fixed with D154185.
Differential Revision: https://reviews.llvm.org/D145226
More information about the All-commits
mailing list