From 552a62fabc00e80a2ba5825910f6b0efc7037a2e Mon Sep 17 00:00:00 2001 From: Tyler Nowicki Date: Fri, 21 Aug 2015 23:03:24 +0000 Subject: Standardized 'failed' to 'Failed' in LoopVectorizationRequirements. llvm-svn: 245759 --- llvm/lib/Transforms/Vectorize/LoopVectorize.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'llvm/lib') 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: -- cgit v1.2.3