tree-vrp.c
222 KB
-
re PR tree-optimization/28632 (VRP should understand bitwise OR and AND) · 85e693aa
PR tree-optimization/28632 * tree-vrp.c (zero_nonzero_bits_from_vr): New function. (extract_range_from_binary_expr): Further optimize BIT_AND_EXPR and BIT_IOR_EXPR. * gcc.dg/tree-ssa/vrp51.c: New test. * gcc.dg/tree-ssa/vrp52.c: New test. Co-Authored-By: Bernhard Reutner-Fischer <aldot@gcc.gnu.org> Co-Authored-By: Denys Vlasenko <dvlasenk@redhat.com> From-SVN: r162009
Jakub Jelinek committed