diff options
author | Roman Lebedev <lebedev.ri@gmail.com> | 2020-03-06 21:39:07 +0300 |
---|---|---|
committer | Roman Lebedev <lebedev.ri@gmail.com> | 2020-03-06 21:39:07 +0300 |
commit | 1badf7c33a5d01900c77646f750e2ea11ad8bf5a (patch) | |
tree | 1029ff8edac1161f01650640b7671c4c2be5a884 /lldb/source/Interpreter/CommandInterpreter.cpp | |
parent | dcf6494abed7550fc84d6b59b33efc634a95c1fe (diff) | |
download | llvm-1badf7c33a5d01900c77646f750e2ea11ad8bf5a.zip llvm-1badf7c33a5d01900c77646f750e2ea11ad8bf5a.tar.gz llvm-1badf7c33a5d01900c77646f750e2ea11ad8bf5a.tar.bz2 |
[InstComine] Forego of one-use check in `(X - (X & Y)) --> (X & ~Y)` if Y is a constant
Summary:
This is potentially more friendly for further optimizations,
analysies, e.g.: https://godbolt.org/z/G24anE
This resolves phase-ordering bug that was introduced
in D75145 for https://godbolt.org/z/2gBwF2
https://godbolt.org/z/XvgSua
Reviewers: spatel, nikic, dmgreen, xbolva00
Reviewed By: nikic, xbolva00
Subscribers: hiraditya, zzheng, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D75757
Diffstat (limited to 'lldb/source/Interpreter/CommandInterpreter.cpp')
0 files changed, 0 insertions, 0 deletions