summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-exegesis/lib/SnippetRepetitor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/tools/llvm-exegesis/lib/SnippetRepetitor.cpp')
-rw-r--r--llvm/tools/llvm-exegesis/lib/SnippetRepetitor.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/tools/llvm-exegesis/lib/SnippetRepetitor.cpp b/llvm/tools/llvm-exegesis/lib/SnippetRepetitor.cpp
index 860db92a81d..ba618ac3f97 100644
--- a/llvm/tools/llvm-exegesis/lib/SnippetRepetitor.cpp
+++ b/llvm/tools/llvm-exegesis/lib/SnippetRepetitor.cpp
@@ -69,8 +69,8 @@ public:
Entry.addInstruction(Inst);
// Set up the loop basic block.
- Entry.MBB->addSuccessor(Loop.MBB, llvm::BranchProbability::getOne());
- Loop.MBB->addSuccessor(Loop.MBB, llvm::BranchProbability::getOne());
+ Entry.MBB->addSuccessor(Loop.MBB, BranchProbability::getOne());
+ Loop.MBB->addSuccessor(Loop.MBB, BranchProbability::getOne());
// The live ins are: the loop counter, the registers that were setup by
// the entry block, and entry block live ins.
Loop.MBB->addLiveIn(LoopCounter);
@@ -83,7 +83,7 @@ public:
State.getInstrInfo());
// Set up the exit basic block.
- Loop.MBB->addSuccessor(Exit.MBB, llvm::BranchProbability::getZero());
+ Loop.MBB->addSuccessor(Exit.MBB, BranchProbability::getZero());
Exit.addReturn();
};
}
OpenPOWER on IntegriCloud