2014-12-02 Richard Biener <rguenther@suse.de>
* match.pd: Restrict division combining to trunc_div and
exact_div.
From-SVN: r218260
+2014-12-02 Richard Biener <rguenther@suse.de>
+
+ * match.pd: Restrict division combining to trunc_div and
+ exact_div.
+
2014-12-02 Jakub Jelinek <jakub@redhat.com>
* config/sparc/sparc.c (sparc_atomic_assign_expand_fenv):
&& TYPE_UNSIGNED (type))
(trunc_div @0 @1)))
-/* Combine two successive divisions. */
-(for div (trunc_div ceil_div floor_div round_div exact_div)
+/* Combine two successive divisions. Note that combining ceil_div
+ and floor_div is trickier and combining round_div even more so. */
+(for div (trunc_div exact_div)
(simplify
(div (div @0 INTEGER_CST@1) INTEGER_CST@2)
(with {