[all-commits] [llvm/llvm-project] 6af2c4: [mlir] Change the internal representation of Froze...
River Riddle via All-commits
all-commits at lists.llvm.org
Mon Dec 14 12:40:14 PST 2020
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6af2c4ca9bdb37e56cfda8dae4f6c3c6ca21b8d7
https://github.com/llvm/llvm-project/commit/6af2c4ca9bdb37e56cfda8dae4f6c3c6ca21b8d7
Author: River Riddle <riddleriver at gmail.com>
Date: 2020-12-14 (Mon, 14 Dec 2020)
Changed paths:
M mlir/include/mlir/Rewrite/FrozenRewritePatternList.h
M mlir/lib/Rewrite/FrozenRewritePatternList.cpp
Log Message:
-----------
[mlir] Change the internal representation of FrozenRewritePatternList to use shared_ptr
This will allow for caching pattern lists across multiple pass instances, such as when multithreading. This is an extremely important invariant for PDL patterns, which are compiled at runtime when the FrozenRewritePatternList is built.
Differential Revision: https://reviews.llvm.org/D93146
More information about the All-commits
mailing list