[Bug tree-optimization/95527] Failure to optimize __builtin_ffs == 0
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Jun 9 06:39:04 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95527
--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jakub Jelinek <jakub@gcc.gnu.org>:
https://gcc.gnu.org/g:653ab081391e9e7e38b304f3234323c93693d40c
commit r11-1080-g653ab081391e9e7e38b304f3234323c93693d40c
Author: Jakub Jelinek <jakub@redhat.com>
Date: Tue Jun 9 08:38:19 2020 +0200
match.pd: Optimize ffs comparisons against constants [PR95527]
The following patch implements various optimizations of __builtin_ffs*
against constants.
2020-06-09 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/95527
* match.pd (__builtin_ffs (X) cmp CST): New optimizations.
* gcc.dg/tree-ssa/pr95527.c: New test.
More information about the Gcc-bugs
mailing list