Benjamin Kramer 2f7228b80c Generalize the and-icmp-select instcombine further by allowing selects of the form
(x & 2^n) ? 2^m+C : C

we can offset both arms by C to get the "(x & 2^n) ? 2^m : 0" form, optimize the
select to a shift and apply the offset afterwards.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121609 91177308-0d34-0410-b5e6-96231b3b80d8
2010-12-11 10:49:22 +00:00
..
2010-09-02 22:38:56 +00:00
2010-08-03 16:19:16 +00:00
2010-12-05 18:29:03 +00:00
2010-08-31 18:44:03 +00:00