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
This is PR28376.
Unfortunately given the current structure of optimization diagnostics we
lack the capability to tell whether the user has
passed -Rpass-analysis=loop-vectorize since this is local to the
front-end (BackendConsumer::OptimizationRemarkHandler).
So rather than printing this even if the user has already
passed -Rpass-analysis, this patch just punts and stops recommending
this option. I don't think that getting this right is worth the
complexity.
Differential Revision: https://reviews.llvm.org/D26563
llvm-svn: 286662
Copy file name to clipboardExpand all lines: llvm/test/Transforms/LoopVectorize/X86/vectorization-remarks-missed.ll
+2-2
Original file line number
Diff line number
Diff line change
@@ -24,10 +24,10 @@
24
24
25
25
; File, line, and column should match those specified in the metadata
26
26
; CHECK: remark: source.cpp:4:5: loop not vectorized: could not determine number of loop iterations
27
-
; CHECK: remark: source.cpp:4:5: loop not vectorized: use -Rpass-analysis=loop-vectorize for more info
27
+
; CHECK: remark: source.cpp:4:5: loop not vectorized
28
28
; CHECK: remark: source.cpp:13:5: loop not vectorized: vectorization and interleaving are explicitly disabled, or vectorize width and interleave count are both set to 1
0 commit comments