diff options
author | Noah Goldstein <goldstein.w.n@gmail.com> | 2023-07-06 13:16:53 -0500 |
---|---|---|
committer | Noah Goldstein <goldstein.w.n@gmail.com> | 2023-07-06 14:46:34 -0500 |
commit | 453d983d56c4f6407cf6bef52064f74d95448e11 (patch) | |
tree | 6ea61537359a7b6cdd7f204fb05d87b20535f738 /lldb/source/Plugins/Process/scripted/ScriptedProcess.cpp | |
parent | 19fc5e8208b6c3e42e0559c353803e6d6b7ade19 (diff) | |
download | llvm-453d983d56c4f6407cf6bef52064f74d95448e11.zip llvm-453d983d56c4f6407cf6bef52064f74d95448e11.tar.gz llvm-453d983d56c4f6407cf6bef52064f74d95448e11.tar.bz2 |
[InstCombine] Add transforms for `(rem (shl Y, X), (shl Z, X))`
This is just filling in a missing case from D144225.
We treat `(shl Y, X)` and `(shl Z, X)` as `(mul Z, 1 << X)` and `(mul
Y, 1 << X)` then reuse the same transformations that already exist.
Reviewed By: sdesmalen
Differential Revision: https://reviews.llvm.org/D147108
Diffstat (limited to 'lldb/source/Plugins/Process/scripted/ScriptedProcess.cpp')
0 files changed, 0 insertions, 0 deletions