This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Simplify -x<0 to x>0
- From: Eric Botcazou <ebotcazou at adacore dot com>
- To: Marc Glisse <marc dot glisse at inria dot fr>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 25 May 2015 12:24:08 +0200
- Subject: Re: Simplify -x<0 to x>0
- Authentication-results: sourceware.org; auth=none
- References: <alpine dot DEB dot 2 dot 02 dot 1505241524200 dot 18517 at stedding dot saclay dot inria dot fr>
> I noticed we were only doing this transformation for floats and not for
> integers, so I took the chance to move it to match.pd.
Isn't it so because this requires a symmetrical domain around 0?
--
Eric Botcazou