From e7beeb8ea166e44fef3efe1e88c2b8006efbdd53 Mon Sep 17 00:00:00 2001 From: Adam Nemet Date: Thu, 14 May 2015 12:33:32 +0000 Subject: [PATCH] Attempt to fix MSVC bots git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@237359 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Transforms/Scalar/LoopDistribute.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/Transforms/Scalar/LoopDistribute.cpp b/lib/Transforms/Scalar/LoopDistribute.cpp index b0fb8df00a4..3d2972eb7f0 100644 --- a/lib/Transforms/Scalar/LoopDistribute.cpp +++ b/lib/Transforms/Scalar/LoopDistribute.cpp @@ -55,10 +55,9 @@ static cl::opt DistributeNonIfConvertible( STATISTIC(NumLoopsDistributed, "Number of loops distributed"); -namespace { /// \brief Remaps instructions in a loop including the preheader. -void remapInstructionsInLoop(const SmallVectorImpl &Blocks, - ValueToValueMapTy &VMap) { +static void remapInstructionsInLoop(const SmallVectorImpl &Blocks, + ValueToValueMapTy &VMap) { // Rewrite the code to refer to itself. for (auto *BB : Blocks) for (auto &Inst : *BB) @@ -120,6 +119,7 @@ static Loop *cloneLoopWithPreheader(BasicBlock *Before, BasicBlock *LoopDomBB, return NewLoop; } +namespace { /// \brief Maintains the set of instructions of the loop for a partition before /// cloning. After cloning, it hosts the new loop. class InstPartition {