diff options
author | David Bolvansky <david.bolvansky@gmail.com> | 2019-09-04 18:03:21 +0000 |
---|---|---|
committer | David Bolvansky <david.bolvansky@gmail.com> | 2019-09-04 18:03:21 +0000 |
commit | 420cbb6190e97d470ddb12a3136af148a7d5e841 (patch) | |
tree | 7068784d9b40834733e1932e898c4f9da7c45a2e /lldb/packages/Python/lldbsuite/test/python_api/frame | |
parent | 673e5476a817e93440e4b269df8bcb0d4b8aae14 (diff) | |
download | bcm5719-llvm-420cbb6190e97d470ddb12a3136af148a7d5e841.tar.gz bcm5719-llvm-420cbb6190e97d470ddb12a3136af148a7d5e841.zip |
[InstCombine] sub(xor(x, y), or(x, y)) -> neg(and(x, y))
Summary:
```
Name: sub(xor(x, y), or(x, y)) -> neg(and(x, y))
%or = or i32 %y, %x
%xor = xor i32 %x, %y
%sub = sub i32 %xor, %or
=>
%sub1 = and i32 %x, %y
%sub = sub i32 0, %sub1
Optimization: sub(xor(x, y), or(x, y)) -> neg(and(x, y))
Done: 1
Optimization is correct!
```
https://rise4fun.com/Alive/8OI
Reviewers: lebedev.ri
Reviewed By: lebedev.ri
Subscribers: llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D67188
llvm-svn: 370945
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/frame')
0 files changed, 0 insertions, 0 deletions