diff options
| author | Adam Nemet <anemet@apple.com> | 2016-06-29 22:04:10 +0000 |
|---|---|---|
| committer | Adam Nemet <anemet@apple.com> | 2016-06-29 22:04:10 +0000 |
| commit | e1af3c635c545ed12e7253c0b866a84420a690ab (patch) | |
| tree | d15f1ad95be263aadeacd90c8ee8bfe9c0d28575 /llvm/lib | |
| parent | 5ba5270eb99945788e3881a088221a51141cf3e4 (diff) | |
| download | bcm5719-llvm-e1af3c635c545ed12e7253c0b866a84420a690ab.tar.gz bcm5719-llvm-e1af3c635c545ed12e7253c0b866a84420a690ab.zip | |
[LV] Improve accuracy and formatting of function comment
llvm-svn: 274182
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/Transforms/Vectorize/LoopVectorize.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp index fb0243542fc..2e55c4fc75e 100644 --- a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp +++ b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp @@ -1153,9 +1153,10 @@ public: unsigned getWidth() const { return Width.Value; } unsigned getInterleave() const { return Interleave.Value; } enum ForceKind getForce() const { return (ForceKind)Force.Value; } + + /// \brief If hints are provided that force vectorization, use the AlwaysPrint + /// pass name to force the frontend to print the diagnostic. const char *vectorizeAnalysisPassName() const { - // If hints are provided that don't disable vectorization use the - // AlwaysPrint pass name to force the frontend to print the diagnostic. if (getWidth() == 1) return LV_NAME; if (getForce() == LoopVectorizeHints::FK_Disabled) |

