diff options
| author | Noah Goldstein <goldstein.w.n@gmail.com> | 2024-02-13 00:42:24 -0600 |
|---|---|---|
| committer | Noah Goldstein <goldstein.w.n@gmail.com> | 2024-02-13 12:53:16 -0600 |
| commit | 79ce933114e46c891a5632f7ad4a004b93a5b808 (patch) | |
| tree | 8019d498d81ac254ffad471230c91e1364261bf5 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | 2422e969bf0a05b9b5cb4a6233a5f8dd335c2de5 (diff) | |
[InstCombine] Extend `(lshr/shl (shl/lshr -1, x), x)` -> `(lshr/shl -1, x)` for multi-use
We previously did this iff the inner `(shl/lshr -1, x)` was
one-use. No instructions are added even if the inner `(shl/lshr -1,
x)` is multi-use and this canonicalization both makes the resulting
instruction easier to analyze and shrinks its dependency chain.
Closes #81576
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
