https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102872
Andrew Pinski changed:
What|Removed |Added
Target Milestone|--- |13.0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102872
Andrew Macleod changed:
What|Removed |Added
Resolution|--- |FIXED
Status|NEW
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102872
--- Comment #5 from CVS Commits ---
The master branch has been updated by Andrew Macleod :
https://gcc.gnu.org/g:6cc3394507a2303a18891d34222c53f679256c37
commit r13-3281-g6cc3394507a2303a18891d34222c53f679256c37
Author: Andrew MacLeod
Date:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102872
--- Comment #4 from Richard Biener ---
ifcombine makes
optimizing two comparisons to _13
Merging blocks 3 and 4
to
[local count: 955630225]:
d_10 = (short unsigned int) a.3_5;
_9 = a.3_5 & 65535;
_2 = d_10 != 0;
_1 = _9 == 0;
_13
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102872
--- Comment #3 from Andrew Pinski ---
I wonder if we should just do this:
(for neeq (ne eq)
(simplify
(neeq (convert:s @0) integer_zerop@1)
(with
{
tree inside_type = TREE_TYPE (@0);
tree outer_type = TREE_TYPE (@1);
}
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102872
Richard Biener changed:
What|Removed |Added
Ever confirmed|0 |1
Status|UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102872
--- Comment #1 from Andrew Pinski ---
Note this does not get optimized at the rtl level on all targets either, e.g.
aarch64 we get:
tst w0, 65535
and w0, w0, 65535
ccmpw0, 0, 4, eq
beq .L3