diff options
| author | David Green <david.green@arm.com> | 2024-05-22 19:28:24 +0100 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-22 19:28:24 +0100 | 
| commit | 0a62a99aa610a7a8cf739208603646bc01b37347 (patch) | |
| tree | 09ab9d84f1e01117135a92820eb04958a0b8afdf /lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h | |
| parent | 8baf96f3060bc26a308b3614feed4117e5299d3c (diff) | |
| download | llvm-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/PythonDataObjects.h')
0 files changed, 0 insertions, 0 deletions
