forked from OSchip/llvm-project
[LV] Improve accuracy and formatting of function comment
llvm-svn: 274182
This commit is contained in:
parent
5ba5270eb9
commit
e1af3c635c
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue