diff options
| author | Roman Lebedev <lebedev.ri@gmail.com> | 2018-09-19 13:35:40 +0000 |
|---|---|---|
| committer | Roman Lebedev <lebedev.ri@gmail.com> | 2018-09-19 13:35:40 +0000 |
| commit | ca2bdb03d6cfeef068dcae8ae3bf78ead219612a (patch) | |
| tree | 8d46e53c9455809efed0403ea68459948d2aef07 /llvm/lib/Transforms/IPO/GlobalSplit.cpp | |
| parent | 183a465dc60b9ca87841bd0b7c34bc74deef74b4 (diff) | |
| download | bcm5719-llvm-ca2bdb03d6cfeef068dcae8ae3bf78ead219612a.tar.gz bcm5719-llvm-ca2bdb03d6cfeef068dcae8ae3bf78ead219612a.zip | |
[InstCombine] foldICmpWithLowBitMaskedVal(): handle uncanonical ((1 << y)+(-1)) mask
Summary:
Same as to D52146.
`((1 << y)+(-1))` is simply non-canoniacal version of `~(-1 << y)`: https://rise4fun.com/Alive/0vl
We can not canonicalize it due to the extra uses. But we can handle it here.
Reviewers: spatel, craig.topper, RKSimon
Reviewed By: spatel
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D52147
llvm-svn: 342547
Diffstat (limited to 'llvm/lib/Transforms/IPO/GlobalSplit.cpp')
0 files changed, 0 insertions, 0 deletions

