Currently, only the following information is provided by LoopVectorizer in the case when the CF of the loop is not legal for vectorization:
LV: Can't vectorize the instructions or CFG LV: Not vectorizing: Cannot prove legality.
But this information is not enough for the root cause analysis; what is exactly wrong with the loop should also be printed:
LV: Not vectorizing: The exiting block is not the loop latch.
Also the information which loops were simplified and eligible for vectorization will be generated when the 'debug-only' argument is set to 'loop-vectorize'.
Please unify this debug message with the one at line 606. Having both seems redundant.