[Bug target/108583] [13 Regression] wrong code with vector division by uint16 at -O2
rsandifo at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Jan 30 16:52:22 GMT 2023
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108583
--- Comment #6 from rsandifo at gcc dot gnu.org <rsandifo at gcc dot gnu.org> ---
(In reply to Tamar Christina from comment #3)
> The vectorizer has this context but since we didn't want a new IFN the
> context should instead be derivable in
> targetm.vectorize.can_special_div_by_const hook.
I probably got lost in the threading, but could you point to where
the idea of using an ifn was rejected? I know there was pushback
against hard-coding a specific constant, but that doesn't prevent
the use of ifns in itself. (E.g. the gather/scatter IFNs have
constant arguments that are checked against what the target allows.)
More information about the Gcc-bugs
mailing list