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/no_fpmath.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/no_fpmath.ll')
-rw-r--r-- | llvm/test/Transforms/LoopVectorize/X86/no_fpmath.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/Transforms/LoopVectorize/X86/no_fpmath.ll b/llvm/test/Transforms/LoopVectorize/X86/no_fpmath.ll index 055d81a390b..2efe928f0f4 100644 --- a/llvm/test/Transforms/LoopVectorize/X86/no_fpmath.ll +++ b/llvm/test/Transforms/LoopVectorize/X86/no_fpmath.ll @@ -1,7 +1,7 @@ ; RUN: opt < %s -loop-vectorize -mtriple=x86_64-unknown-linux -S -pass-remarks='loop-vectorize' -pass-remarks-missed='loop-vectorize' -pass-remarks-analysis='loop-vectorize' 2>&1 | FileCheck %s ; CHECK: remark: no_fpmath.c:6:11: loop not vectorized: cannot prove it is safe to reorder floating-point operations -; CHECK: remark: no_fpmath.c:6:14: loop not vectorized: +; CHECK: remark: no_fpmath.c:6:14: loop not vectorized ; CHECK: remark: no_fpmath.c:17:14: vectorized loop (vectorization width: 2, interleaved count: 2) target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128" |