diff options
| author | Adam Nemet <anemet@apple.com> | 2016-11-11 22:51:46 +0000 |
|---|---|---|
| committer | Adam Nemet <anemet@apple.com> | 2016-11-11 22:51:46 +0000 |
| commit | 9bfbf8bbdfda79210b4f37d0431151d359a0ee9b (patch) | |
| tree | 210be32745d60d56064555fc84cc32ada094e67a /llvm/test/Transforms/LoopVectorize/X86/vectorization-remarks-missed.ll | |
| parent | 720a20a26bbabbd7c6a785f3f69bba67c4ca081f (diff) | |
| download | bcm5719-llvm-9bfbf8bbdfda79210b4f37d0431151d359a0ee9b.tar.gz bcm5719-llvm-9bfbf8bbdfda79210b4f37d0431151d359a0ee9b.zip | |
[LV] Stop saying "use -Rpass-analysis=loop-vectorize"
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
Diffstat (limited to 'llvm/test/Transforms/LoopVectorize/X86/vectorization-remarks-missed.ll')
| -rw-r--r-- | llvm/test/Transforms/LoopVectorize/X86/vectorization-remarks-missed.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/Transforms/LoopVectorize/X86/vectorization-remarks-missed.ll b/llvm/test/Transforms/LoopVectorize/X86/vectorization-remarks-missed.ll index 419f2e02456..f28e6be2352 100644 --- a/llvm/test/Transforms/LoopVectorize/X86/vectorization-remarks-missed.ll +++ b/llvm/test/Transforms/LoopVectorize/X86/vectorization-remarks-missed.ll @@ -24,10 +24,10 @@ ; File, line, and column should match those specified in the metadata ; CHECK: remark: source.cpp:4:5: loop not vectorized: could not determine number of loop iterations -; CHECK: remark: source.cpp:4:5: loop not vectorized: use -Rpass-analysis=loop-vectorize for more info +; CHECK: remark: source.cpp:4:5: loop not vectorized ; 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 ; CHECK: remark: source.cpp:19:5: loop not vectorized: cannot identify array bounds -; CHECK: remark: source.cpp:19:5: loop not vectorized: use -Rpass-analysis=loop-vectorize for more info +; CHECK: remark: source.cpp:19:5: loop not vectorized ; CHECK: warning: source.cpp:19:5: loop not vectorized: failed explicitly specified loop vectorization ; CHECK: _Z4testPii |

