diff options
| author | Austin Chang <austin880625@gmail.com> | 2023-05-25 12:10:31 -0500 |
|---|---|---|
| committer | Noah Goldstein <goldstein.w.n@gmail.com> | 2023-05-25 13:41:32 -0500 |
| commit | 68c5d46b6ec46c59afa052d2b2945ca7b22f58d6 (patch) | |
| tree | 8985aafa46535f1a10d2356a0d23da9749fae79a /lldb/test/API/python_api | |
| parent | 1d1f7eeee6bf38ef35083f676875950b4f5528f7 (diff) | |
[InstCombine] Improve bitreverse optimization
This patch utilizes the helper function implemented in D149699 and thus folds the following cases:
```
bitreverse(logic_op(x, bitreverse(y))) -> logic_op(bitreverse(x), y)
bitreverse(logic_op(bitreverse(x), y)) -> logic_op(x, bitreverse(y))
bitreverse(logic_op(bitreverse(x), bitreverse(y))) -> logic_op(x, y) in multiuse case
```
Reviewed By: goldstein.w.n, RKSimon
Differential Revision: https://reviews.llvm.org/D151246
Diffstat (limited to 'lldb/test/API/python_api')
0 files changed, 0 insertions, 0 deletions
