commit | 7795456d9e42a0a12268a0f97a2cdeb1f7ff6ac2 | [log] [tgz] |
---|---|---|
author | Roman Lebedev <lebedev.ri@gmail.com> | Wed Sep 19 13:35:46 2018 +0000 |
committer | Roman Lebedev <lebedev.ri@gmail.com> | Wed Sep 19 13:35:46 2018 +0000 |
tree | 5e2980ae25d0f6745cf3ca222a8e5d7749858f9b | |
parent | 47c99e0a969a382c99b6d9fe04666aea06eb24b7 [diff] |
[InstCombine] foldICmpWithLowBitMaskedVal(): handle uncanonical ((-1 << y) >> y) mask Summary: The last low-bit-mask-pattern-producing-pattern i can think of. https://rise4fun.com/Alive/UGzE <- non-canonical But we can not canonicalize it because of extra uses. https://bugs.llvm.org/show_bug.cgi?id=38123 Reviewers: spatel, craig.topper, RKSimon Reviewed By: spatel Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D52148 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@342548 91177308-0d34-0410-b5e6-96231b3b80d8