[llvm] r245759 - Standardized 'failed' to 'Failed' in LoopVectorizationRequirements.
Tyler Nowicki via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 21 16:03:24 PDT 2015
Author: tnowicki
Date: Fri Aug 21 18:03:24 2015
New Revision: 245759
URL: http://llvm.org/viewvc/llvm-project?rev=245759&view=rev
Log:
Standardized 'failed' to 'Failed' in LoopVectorizationRequirements.
Modified:
llvm/trunk/lib/Transforms/Vectorize/LoopVectorize.cpp
Modified: llvm/trunk/lib/Transforms/Vectorize/LoopVectorize.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Vectorize/LoopVectorize.cpp?rev=245759&r1=245758&r2=245759&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Vectorize/LoopVectorize.cpp (original)
+++ llvm/trunk/lib/Transforms/Vectorize/LoopVectorize.cpp Fri Aug 21 18:03:24 2015
@@ -1499,7 +1499,7 @@ public:
bool doesNotMeet(Function *F, Loop *L, const LoopVectorizeHints &Hints) {
// If a loop hint is provided the diagnostic is always produced.
const char *Name = Hints.isForced() ? DiagnosticInfo::AlwaysPrint : LV_NAME;
- bool failed = false;
+ bool Failed = false;
if (UnsafeAlgebraInst &&
Hints.getForce() == LoopVectorizeHints::FK_Undefined &&
Hints.getWidth() == 0) {
@@ -1509,7 +1509,7 @@ public:
"order of operations, however IEEE 754 "
"floating-point operations are not "
"commutative");
- failed = true;
+ Failed = true;
}
if (NumRuntimePointerChecks >
@@ -1524,10 +1524,10 @@ public:
"would exceed the limit of "
<< VectorizerParams::RuntimeMemoryCheckThreshold << " checks");
DEBUG(dbgs() << "LV: Too many memory checks needed.\n");
- failed = true;
+ Failed = true;
}
- return failed;
+ return Failed;
}
private:
More information about the llvm-commits
mailing list