[Bug tree-optimization/115819] RISC-V: Failed to hoist vrsub.vx to the header of the loop
rdapp at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Jul 24 13:50:41 GMT 2024
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115819
--- Comment #6 from Robin Dapp <rdapp at gcc dot gnu.org> ---
(In reply to JuzheZhong from comment #4)
> (In reply to Andrew Pinski from comment #1)
> > This might be a cost issue.
>
> No. I don't it's cost issue.
> It's because we suppress the hoist by incorrect POLY INT handling codes.
>
> I have a patch to fix it:
>
> https://gcc.gnu.org/pipermail/gcc-patches/2024-February/644706.html
>
> But it seems to produce ICEs...
I re-tried your patch on the latest trunk and cannot reproduce the ICE anymore,
not even with -fno-vect-cost-model.
Going to do a regression run and, if positive, apply your patch as it is
already approved.
More information about the Gcc-bugs
mailing list