diff options
| author | Alexander Belyaev <pifon@google.com> | 2020-04-03 17:57:41 +0200 |
|---|---|---|
| committer | Alexander Belyaev <pifon@google.com> | 2020-04-05 11:48:22 +0200 |
| commit | 51e3709c2b9055fe9e6fc83fc7f056bd55b2aaa6 (patch) | |
| tree | 69bb424416d5b56cb718bb17f17db4024519e1b3 /lldb/test/API/functionalities/plugins/python_os_plugin | |
| parent | 0359b86d8bb24a7bcd37dc6126baee303bc6c939 (diff) | |
[MLIR] Don't insert YieldOp for non-void loop.for by default.
The ForOp::build ensures that there is a block terminator which is great for
the default use case when there are no iter_args and loop.for returns no
results. In non-zero results case we always need to call replaceOpWithNewOp
which is not the nicest thing in the world. We can stop inserting YieldOp when
iter_args is non-empty. IfOp::build already behaves similarly.
Diffstat (limited to 'lldb/test/API/functionalities/plugins/python_os_plugin')
0 files changed, 0 insertions, 0 deletions
