diff options
author | Noah Goldstein <goldstein.w.n@gmail.com> | 2023-02-06 12:06:11 -0600 |
---|---|---|
committer | Noah Goldstein <goldstein.w.n@gmail.com> | 2023-02-06 14:09:18 -0600 |
commit | 2a3732f934b1ef46fc8f0fdae77836c6604533cb (patch) | |
tree | 3146ca6f24e3a03b3d620d80fedf160297d444af /lldb/source/Plugins/ScriptInterpreter/Python | |
parent | 19c766f7423abb1808c4de94ea0a0f09ef0a6ada (diff) | |
download | llvm-2a3732f934b1ef46fc8f0fdae77836c6604533cb.zip llvm-2a3732f934b1ef46fc8f0fdae77836c6604533cb.tar.gz llvm-2a3732f934b1ef46fc8f0fdae77836c6604533cb.tar.bz2 |
Add transform for `(mul X, OddC) eq/ne N * C` --> `X eq/ne N`
We previously only did this if the `mul` was `nuw`, but it works for
any odd value.
Alive2 Links:
EQ: https://alive2.llvm.org/ce/z/6_HPZ5
NE: https://alive2.llvm.org/ce/z/c34qSU
Reviewed By: spatel
Differential Revision: https://reviews.llvm.org/D143026
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python')
0 files changed, 0 insertions, 0 deletions