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.)