diff options
author | Alex Zinenko <zinenko@google.com> | 2020-04-03 19:55:48 +0200 |
---|---|---|
committer | Alex Zinenko <zinenko@google.com> | 2020-04-03 23:49:03 +0200 |
commit | 340e1b20779ebeb93f681689a345217672a308e3 (patch) | |
tree | b783a27cb25604af423e0fe557b10d86f679a220 /lldb/source/Commands/CommandObjectThread.cpp | |
parent | b7397e81fe4dee8ffd4a1353bf0cf3a7d2ed267b (diff) | |
download | llvm-340e1b20779ebeb93f681689a345217672a308e3.zip llvm-340e1b20779ebeb93f681689a345217672a308e3.tar.gz llvm-340e1b20779ebeb93f681689a345217672a308e3.tar.bz2 |
[mlir] LoopToStandard conversion: support "if/else" with results
Summary:
A recent extension allowed the `loop.if` operation to return results yielded by
its regions. However, such operations could not be lowered to a CFG of standard
operations because it would have required to modify the argument list of a
block, which is not allowed in a conversion pattern. Now that the conversion
infrastructure supports block creation, use it to create a block with an
argument list that dominates the operations following the `loop.if` and forward
the results as arguments of this block.
Depends On D77416
Differential Revision: https://reviews.llvm.org/D77418
Diffstat (limited to 'lldb/source/Commands/CommandObjectThread.cpp')
0 files changed, 0 insertions, 0 deletions