diff options
author | Adam Nemet <anemet@apple.com> | 2015-05-14 12:33:32 +0000 |
---|---|---|
committer | Adam Nemet <anemet@apple.com> | 2015-05-14 12:33:32 +0000 |
commit | 2f85b7372cd4049a5a14a9aef0ed70fefcf61567 (patch) | |
tree | c9503c8c5c481d182fabe5330249ebf0d41edac4 /llvm/lib/Transforms | |
parent | 938d3d63d6911a797c553ea8c5faf7ecba47a375 (diff) | |
download | bcm5719-llvm-2f85b7372cd4049a5a14a9aef0ed70fefcf61567.tar.gz bcm5719-llvm-2f85b7372cd4049a5a14a9aef0ed70fefcf61567.zip |
Attempt to fix MSVC bots
llvm-svn: 237359
Diffstat (limited to 'llvm/lib/Transforms')
-rw-r--r-- | llvm/lib/Transforms/Scalar/LoopDistribute.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Transforms/Scalar/LoopDistribute.cpp b/llvm/lib/Transforms/Scalar/LoopDistribute.cpp index b0fb8df00a4..3d2972eb7f0 100644 --- a/llvm/lib/Transforms/Scalar/LoopDistribute.cpp +++ b/llvm/lib/Transforms/Scalar/LoopDistribute.cpp @@ -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 { |