summaryrefslogtreecommitdiff
path: root/lldb/test/API/python_api/thread/TestThreadAPI.py
diff options
context:
space:
mode:
authorRoman Lebedev <lebedev.ri@gmail.com>2020-11-03 22:01:22 +0300
committerRoman Lebedev <lebedev.ri@gmail.com>2020-11-03 22:30:51 +0300
commit70472f34b289d663a9f70740dfc9ae32fc89e077 (patch)
tree00fb2662bc664c17d3b847c0d9fa5eb84c0c5eb3 /lldb/test/API/python_api/thread/TestThreadAPI.py
parentf099330094d68d268e366defffccf4c311427e67 (diff)
[Reassociate] Convert `add`-like `or`'s into an `add`'s to allow reassociation
InstCombine is quite aggressive in doing the opposite transform, folding `add` of operands with no common bits set into an `or`, and that not many things support that new pattern.. In this case, teaching Reassociate about it is easy, there's preexisting art for `sub`/`shl`: just convert such an `or` into an `add`: https://rise4fun.com/Alive/Xlyv
Diffstat (limited to 'lldb/test/API/python_api/thread/TestThreadAPI.py')
0 files changed, 0 insertions, 0 deletions