diff options
author | Tres Popp <tpopp@google.com> | 2020-11-10 19:03:11 +0100 |
---|---|---|
committer | Tres Popp <tpopp@google.com> | 2020-11-11 10:42:33 +0100 |
commit | cc5b4a86036645db0fef997b7ae36bd613e6e429 (patch) | |
tree | ac60c4395de405111ff7c2fc91659ffbea751313 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 3307a7c046cb591dd628dd739d2f930c6943df3c (diff) | |
download | llvm-cc5b4a86036645db0fef997b7ae36bd613e6e429.zip llvm-cc5b4a86036645db0fef997b7ae36bd613e6e429.tar.gz llvm-cc5b4a86036645db0fef997b7ae36bd613e6e429.tar.bz2 |
[mlir] Rework DialectConversion inlineRegionBefore
The previous logic for inlining a region A with N blocks into region B
would produce incorrect results on rollback for N greater than 1. This
rollback logic would leave blocks 1..N in region B and only move block 0
to region A.
The new inlining action recording stores the block move actions from N-1
to 0. Now on roll back, block 0 is moved to region A and then 1..N is
appended to the list of blocks in region A.
Differential Revision: https://reviews.llvm.org/D91185
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions