aboutsummaryrefslogtreecommitdiff
path: root/lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp
diff options
context:
space:
mode:
authorNoah Goldstein <goldstein.w.n@gmail.com>2024-02-13 00:42:24 -0600
committerNoah Goldstein <goldstein.w.n@gmail.com>2024-02-13 12:53:16 -0600
commit79ce933114e46c891a5632f7ad4a004b93a5b808 (patch)
tree8019d498d81ac254ffad471230c91e1364261bf5 /lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp
parent2422e969bf0a05b9b5cb4a6233a5f8dd335c2de5 (diff)
downloadllvm-79ce933114e46c891a5632f7ad4a004b93a5b808.zip
llvm-79ce933114e46c891a5632f7ad4a004b93a5b808.tar.gz
llvm-79ce933114e46c891a5632f7ad4a004b93a5b808.tar.bz2
[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/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp')
0 files changed, 0 insertions, 0 deletions