[llvm] InstCombine/Select: remove redundant code (NFC) (PR #112388)
Yingwei Zheng via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 16 00:50:59 PDT 2024
https://github.com/dtcxzyw approved this pull request.
LGTM.
Another path:
```
(X & Y) == 0 ? X : X ^ Y ->
((X & Y) == 0 ? 0 : Y) ^ X ->
(X & Y) ^ X ->
X & ~Y
```
https://github.com/llvm/llvm-project/pull/112388
More information about the llvm-commits
mailing list