Attempt to fix MSVC bots

llvm-svn: 237359
This commit is contained in:
Adam Nemet 2015-05-14 12:33:32 +00:00
parent 938d3d63d6
commit 2f85b7372c
1 changed files with 3 additions and 3 deletions

View File

@ -55,10 +55,9 @@ static cl::opt<bool> DistributeNonIfConvertible(
STATISTIC(NumLoopsDistributed, "Number of loops distributed");
namespace {
/// \brief Remaps instructions in a loop including the preheader.
void remapInstructionsInLoop(const SmallVectorImpl<BasicBlock *> &Blocks,
ValueToValueMapTy &VMap) {
static void remapInstructionsInLoop(const SmallVectorImpl<BasicBlock *> &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 {