2015-07-07 Richard Biener <rguenther@suse.de>
PR middle-end/66739
* match.pd: Condition A - B ==/!= 0 -> A ==/!= B on single-use
A - B.
From-SVN: r225502
+2015-07-07 Richard Biener <rguenther@suse.de>
+
+ PR middle-end/66739
+ * match.pd: Condition A - B ==/!= 0 -> A ==/!= B on single-use
+ A - B.
+
2015-07-06 Uros Bizjak <ubizjak@gmail.com>
* config/i386/i386.md (insv<mode>): Rename from insv. Use SWI48
attempts to synthetize ABS_EXPR. */
(for cmp (eq ne)
(simplify
- (cmp (minus @0 @1) integer_zerop)
- (cmp @0 @1)))
+ (cmp (minus@2 @0 @1) integer_zerop)
+ (if (single_use (@2))
+ (cmp @0 @1))))
/* Transform comparisons of the form X * C1 CMP 0 to X CMP 0 in the
signed arithmetic case. That form is created by the compiler