> I meant you should still check for LOOP_VINFO_FULLY_WITH_LENGTH_P and not > just > "niters unknown". For the rest of the condition, use whatever you see fit.
Thank you for confirming that. I tried and found out that the LOOP_VINFO_FULLY_WITH_LENGTH_P check does not work at the stage of per-stmt cost calculation, as vect_determine_partial_vectors_and_peeling is called later. For our costing purposes, do you think a check like LOOP_VINFO_CAN_USE_PARTIAL_VECTORS_P will suffice? Thanks, Bohan
