summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorBen Howe <141149032+bmhowe23@users.noreply.github.com>2024-09-04 14:37:14 -0500
committerGitHub <noreply@github.com>2024-09-04 21:37:14 +0200
commitc50fecaaaabcf1598dc25fbde24c8352745b4ac9 (patch)
treea226fafcef563372bca90e3d43460022c5ee03c1 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parentf574b9c9297538a8d471658564619be3ad6e87dd (diff)
[mlir] Fix region simplification bug when later blocks use prior block argument values (#97960)
This fixes #94520 by ensuring that any if any block arguments are being used outside of the original block that the block is not considered a candidate for merging. More details: the root cause of the issue described in #94520 was that `^bb2` and `^bb5` were being merged despite `%4` (an argument to `^bb2`) was being used later in `^bb7`. When the block merge occurred, that unintentionally changed the value of `%4` for all downstream code. This change prevents that from happening.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions