diff options
| author | Sanjay Patel <spatel@rotateright.com> | 2021-02-07 09:41:46 -0500 |
|---|---|---|
| committer | Sanjay Patel <spatel@rotateright.com> | 2021-02-07 09:45:19 -0500 |
| commit | 6fd91be35444c7c8b7ac0744710b55deba1a61de (patch) | |
| tree | 42d3f8cab116c6c49f45f025252b07cbbbb16284 /lldb/test/API/python_api/process/TestProcessAPI.py | |
| parent | e12d8279915c323f3727085ccfd0f2c54ad82bdd (diff) | |
[Reassociate] allow or->add with shl operands
As discussed in:
https://llvm.org/PR49055
We invert instcombine's add->or transform here
because it makes it easier to identify factorization
transforms like the mul in the motivating test.
This extends the logic added with:
https://reviews.llvm.org/rG70472f3
https://reviews.llvm.org/rG93f3d7f
(I intentionally kept the formatting fix in this patch
to provide more context about the calling logic.)
Diffstat (limited to 'lldb/test/API/python_api/process/TestProcessAPI.py')
0 files changed, 0 insertions, 0 deletions
