From 23d9019965d0bf25b8461ee1ceaba8cfc4cfbc23 Mon Sep 17 00:00:00 2001 From: Tyler Nowicki Date: Fri, 21 Aug 2015 23:03:24 +0000 Subject: [PATCH] Standardized 'failed' to 'Failed' in LoopVectorizationRequirements. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@245759 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Transforms/Vectorize/LoopVectorize.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/Transforms/Vectorize/LoopVectorize.cpp b/lib/Transforms/Vectorize/LoopVectorize.cpp index 9166d9e233e..76a49574956 100644 --- a/lib/Transforms/Vectorize/LoopVectorize.cpp +++ b/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: -- 2.34.1