summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
diff options
context:
space:
mode:
authorTyler Nowicki <tyler.nowicki@gmail.com>2015-08-21 23:03:24 +0000
committerTyler Nowicki <tyler.nowicki@gmail.com>2015-08-21 23:03:24 +0000
commit552a62fabc00e80a2ba5825910f6b0efc7037a2e (patch)
tree72655d19caa6020980ac78ea043e7c4e5ca075eb /llvm/lib/Transforms
parentfc95c85cb5b101466ba568bdac604c03e5f27095 (diff)
downloadbcm5719-llvm-552a62fabc00e80a2ba5825910f6b0efc7037a2e.tar.gz
bcm5719-llvm-552a62fabc00e80a2ba5825910f6b0efc7037a2e.zip
Standardized 'failed' to 'Failed' in LoopVectorizationRequirements.
llvm-svn: 245759
Diffstat (limited to 'llvm/lib/Transforms')
-rw-r--r--llvm/lib/Transforms/Vectorize/LoopVectorize.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
index 9166d9e233e..76a49574956 100644
--- a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
+++ b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
@@ -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:
OpenPOWER on IntegriCloud