https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102793
--- Comment #7 from Manolis Tsamis ---
Also submitted in the lists:
https://gcc.gnu.org/pipermail/gcc-patches/2024-April/648856.html
I should note that I needed to modify the test uninit-pred-6_c.c and remove
this check:
if (l)
if (n > 1
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102793
Manolis Tsamis changed:
What|Removed |Added
CC||manolis.tsamis at vrull dot eu
--- Com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102793
--- Comment #5 from Andrew Pinski ---
(In reply to Andrew Pinski from comment #4)
> basically ccmp expension is just ifcombine really.
> That is:
> cc = bar cmp 0
> cc = cc.eq ? ne : d1 cmp d2
> cset cc.ne
> So this is why doing a late pass ifco
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102793
--- Comment #4 from Andrew Pinski ---
(In reply to Richard Biener from comment #3)
> I wonder why tail-merging doesn't do it's job here. It does (on
> x86_64-linux):
Oh I missed that.
> but what's missing is possibly some if-combine?
Yes bec
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102793
Richard Biener changed:
What|Removed |Added
Target||aarch64
--- Comment #3 from Richard Bi
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102793
--- Comment #2 from Andrew Pinski ---
(In reply to Andrew Pinski from comment #1)
> This is a gimple level missed optimization where the indirect function call
> is not "commonized". There are a few other bugs which are similar to this
> too.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102793
Andrew Pinski changed:
What|Removed |Added
Last reconfirmed||2021-10-15
Severity|normal