mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
Attempt to fix MSVC bots
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@237359 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
dd469afe15
commit
e7beeb8ea1
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user