How can I get vectorization messages?
Vectorization messages are available with the “-Wv,-Vmessages” switch to the compiler driver. These messages are sent to the standard output, and tell you about vectorization inhibitors that may be preventing a loop from vectorizing. For example, if a loop contains a function call, there will be a message pointing out the call and noting that this prevents vectorization. If there is a data dependency between two references to an array in a loop, there will be a vectorization message generated that points out the problem.