https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94234

--- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Feng Xue <f...@gcc.gnu.org>:

https://gcc.gnu.org/g:8f0d743c2dee6afae5c6f861b0642b7b112a4a70

commit r11-3207-g8f0d743c2dee6afae5c6f861b0642b7b112a4a70
Author: Feng Xue <f...@os.amperecomputing.com>
Date:   Mon Aug 17 23:00:35 2020 +0800

    tree-optimization/94234 - add plusminus-with-convert pattern

    Add a rule (T)(A) +- (T)(B) -> (T)(A +- B), which works only when (A +- B)
    could be folded to a simple value. By this rule, a
plusminus-mult-with-convert
    expression could be handed over to the rule (A * C) +- (B * C) -> (A +- B).

    2020-09-15  Feng Xue  <f...@os.amperecomputing.com>

    gcc/
            PR tree-optimization/94234
            * match.pd (T)(A) +- (T)(B) -> (T)(A +- B): New simplification.

    gcc/testsuite/
            PR tree-optimization/94234
            * gcc.dg/pr94234-3.c: New test.

Reply via email to