diff options
author | Matthias Springer <springerm@google.com> | 2022-03-15 17:25:56 +0900 |
---|---|---|
committer | Matthias Springer <springerm@google.com> | 2022-03-15 17:32:38 +0900 |
commit | 76b1601001b5262686bde364407d0dc9ffd52287 (patch) | |
tree | 7c76ab3dbe035930461c42a7da5d41a23479aa12 /lldb/packages/Python/lldbsuite/test/gdbclientutils.py | |
parent | 1ceb007939a837ab74d71a56c0776e2707778e03 (diff) | |
download | llvm-76b1601001b5262686bde364407d0dc9ffd52287.zip llvm-76b1601001b5262686bde364407d0dc9ffd52287.tar.gz llvm-76b1601001b5262686bde364407d0dc9ffd52287.tar.bz2 |
[mlir][bufferize] Fix config not passed to greedy rewriter
Also add a TODO to switch to a custom walk instead of the GreedyPatternRewriter, which should be more efficient. (The bufferization pattern is guaranteed to apply only a single time for every op, so a simple walk should suffice.)
We currently specify a top-to-bottom walk order. This is important because other walk orders could introduce additional casts and/or buffer copies. These canonicalize away again, but it is more efficient to never generate them in the first place.
Note: A few of these canonicalizations are not yet implemented.
Differential Revision: https://reviews.llvm.org/D121518
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/gdbclientutils.py')
0 files changed, 0 insertions, 0 deletions