This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [GSoC][match-and-simplify] Add abs_expr pattern
- From: Richard Biener <richard dot guenther at gmail dot com>
- To: Prathamesh Kulkarni <bilbotheelffriend at gmail dot com>
- Cc: Maxim Kuvyrkov <maxim dot kuvyrkov at linaro dot org>, "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 12 Aug 2014 13:26:39 +0200
- Subject: Re: [GSoC][match-and-simplify] Add abs_expr pattern
- Authentication-results: sourceware.org; auth=none
- References: <CAJXstsCUSLMf54kj6wQV9-x0mV3nGJsBeHBHjQStEmZ2OoBqAw at mail dot gmail dot com>
On Tue, Aug 12, 2014 at 12:58 AM, Prathamesh Kulkarni
<bilbotheelffriend@gmail.com> wrote:
> Add pattern: abs (abs (x)) -> abs (x)
>
> * match.pd: Add new pattern.
Thanks - applied.
Richard.
> [gcc/testsuite/gcc.dg/tree-ssa]
> * match.c: New test-case.
>
> Thanks,
> Prathamesh