This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/82853] Optimize x % 3 == 0 without modulo
- From: "glisse at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 05 Nov 2017 21:01:34 +0000
- Subject: [Bug middle-end/82853] Optimize x % 3 == 0 without modulo
- Auto-submitted: auto-generated
- References: <bug-82853-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82853
--- Comment #7 from Marc Glisse <glisse at gcc dot gnu.org> ---
Is that a special case of a more generic transformation, which might apply for
other values of 3, 0, == etc, or is this meant only literally for x%3==0?