[Bug target/54700] Optimize away x<0 as mask argument of a blend.
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Nov 28 13:53:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54700
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
(In reply to Marc Glisse from comment #4)
> __v4su
> f (__v4su a, __v4su b, __v4su c)
> {
> return a > INT_MAX ? b : c;
> }
We should be folding that to (__v4si) a < 0, don't we do that already? At
least for non-vectors we do AFAIK.
More information about the Gcc-bugs
mailing list