
This patch updates LV to generate runtime after the VF & IC are selected. It allows deciding whether to vectorize with runtime checks or not based on their cost compared to the vector loop. It also updates VectorizationFactor to include the scalar cost. Reviewed By: lebedev.ri, dmgreen Differential Revision: https://reviews.llvm.org/D75981