aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h
diff options
context:
space:
mode:
authorDavid Green <david.green@arm.com>2024-05-22 19:28:24 +0100
committerGitHub <noreply@github.com>2024-05-22 19:28:24 +0100
commit0a62a99aa610a7a8cf739208603646bc01b37347 (patch)
tree09ab9d84f1e01117135a92820eb04958a0b8afdf /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h
parent8baf96f3060bc26a308b3614feed4117e5299d3c (diff)
downloadllvm-0a62a99aa610a7a8cf739208603646bc01b37347.zip
llvm-0a62a99aa610a7a8cf739208603646bc01b37347.tar.gz
llvm-0a62a99aa610a7a8cf739208603646bc01b37347.tar.bz2
[SelectOpt] Add handling for not conditions. (#92517)
This patch attempts to help the SelectOpt pass detect select groups made up of conditions and not(conditions). Usually these are canonicalized in instcombine to remove the not and invert the true/false values, but this will not happen for Loginal operations, which can be beneficial to convert if they are part of a larger select group. The handling for not's are mostly handled in the SelectLike, which can be marked as Inverted in order to reverse the TrueValue and FalseValue. This helps fix a regression in fortran minloc constructs, after #84628 helped simplify a loop with branches into a loop with selects.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h')
0 files changed, 0 insertions, 0 deletions