diff options
| author | Vinayaka Bandishti <vinayaka@polymagelabs.com> | 2023-05-29 01:53:31 +0530 |
|---|---|---|
| committer | Uday Bondhugula <uday@polymagelabs.com> | 2023-05-29 01:53:37 +0530 |
| commit | 28c672cf83e81757023cd5ae1e044fcfcfacfc0f (patch) | |
| tree | 5187008dc3fb1246923b8d00f31178c4e0de72a1 /lldb/test/API/python_api/function_symbol/TestDisasmAPI.py | |
| parent | b66308b81f607abd5edb9aa5f2185ad92dfebfa7 (diff) | |
Fix fold of 0-result 0-trip-count `affine.for`
Folding 0-result ops is tricky. An 0-trip-count `affine.for` that does
not return any results is not erased at the end of its usual fold
method. Attempting fold it to only results in an infinite loop of folds
on the same op. Fix this by attempting for fold away only those
`affine.for` ops that return a non-zero number of results.
Reviewed By: bondhugula
Differential Revision: https://reviews.llvm.org/D151546
Diffstat (limited to 'lldb/test/API/python_api/function_symbol/TestDisasmAPI.py')
0 files changed, 0 insertions, 0 deletions
