https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66646
--- Comment #3 from amker at gcc dot gnu.org --- BTW, shall we version the loop in ldist pass if # of iterations can't be computed at compilation time. We can check the target dependent value when deciding which version should be executed. It doesn't make sense to turn loops into memory functions, while trying to inline small memory functions at the same time.