diff options
| author | Craig Topper <craig.topper@gmail.com> | 2017-04-25 15:19:04 +0000 |
|---|---|---|
| committer | Craig Topper <craig.topper@gmail.com> | 2017-04-25 15:19:04 +0000 |
| commit | ba011431938ec4e1716c13a1aada4510f547c89f (patch) | |
| tree | 76cfb13de483dd990a650d6746d17b483efb91ea /llvm/lib/Transforms/IPO/StripSymbols.cpp | |
| parent | f41b21e3848c5c215975593ff02843b50b7cca4d (diff) | |
| download | bcm5719-llvm-ba011431938ec4e1716c13a1aada4510f547c89f.tar.gz bcm5719-llvm-ba011431938ec4e1716c13a1aada4510f547c89f.zip | |
[InstCombine] Add missing commute handling to (A | B) & (B ^ (~A)) -> (A & B)
The matching here wasn't able to handle all the possible commutes. It always assumed the not would be on the left of the xor, but that's not guaranteed.
Differential Revision: https://reviews.llvm.org/D32474
llvm-svn: 301316
Diffstat (limited to 'llvm/lib/Transforms/IPO/StripSymbols.cpp')
0 files changed, 0 insertions, 0 deletions

