tree-vrp.c
337 KB
-
re PR tree-optimization/79408 (Missed VRP optimization of integer modulo) · 74a15d14
PR tree-optimization/79408 * tree-vrp.c (simplify_div_or_mod_using_ranges): If op1 is not constant, but SSA_NAME with a known integer range, use the minimum of that range instead of op1 to determine if modulo can be replaced with its first operand. * gcc.dg/tree-ssa/pr79408.c: New test. From-SVN: r245273
Jakub Jelinek committed