You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a loop cannot be vectorized by the loop vectorizer for some reason, it should leave an informative message in the optimization remarks log.
But quite often this is not the case and only a "loop not vectorized" message is given as a missed-optimization remark.
See https://godbolt.org/z/41Yxvcsn9
I believe the cause is that these messages are emitted by LoopVectorizeHints::emitRemarkWithHints()
This is called from multiple locations in LoopVectorize.cpp, therefore multiple causes of vectorization failure collapse into the non-specific "loop not vectorized" message.