aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python
diff options
context:
space:
mode:
authorMatthias Springer <me@m-sp.org>2023-09-19 17:35:38 +0200
committerGitHub <noreply@github.com>2023-09-19 17:35:38 +0200
commit9b5ef2bea8e3de8fd564ab74b8123b446883216f (patch)
tree26e75b4dd35b1af389c33a249df78d274359a545 /lldb/source/Plugins/ScriptInterpreter/Python
parentd69293c1c80f0f0e3eb012bc006573d4d5cb820f (diff)
downloadllvm-9b5ef2bea8e3de8fd564ab74b8123b446883216f.zip
llvm-9b5ef2bea8e3de8fd564ab74b8123b446883216f.tar.gz
llvm-9b5ef2bea8e3de8fd564ab74b8123b446883216f.tar.bz2
[mlir][Interfaces] `LoopLikeOpInterface`: Support ops with multiple regions (#66754)
This commit implements `LoopLikeOpInterface` on `scf.while`. This enables LICM (and potentially other transforms) on `scf.while`. `LoopLikeOpInterface::getLoopBody()` is renamed to `getLoopRegions` and can now return multiple regions. Also fix a bug in the default implementation of `LoopLikeOpInterface::isDefinedOutsideOfLoop()`, which returned "false" for some values that are defined outside of the loop (in a nested op, in such a way that the value does not dominate the loop). This interface is currently only used for LICM and there is no way to trigger this bug, so no test is added.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python')
0 files changed, 0 insertions, 0 deletions