aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachinePipeliner.cpp
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2016-09-14 20:43:16 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2016-09-14 20:43:16 +0000
commit1b9fc8ed659589ee2f1d010adfd63f3d890c6ec3 (patch)
tree27b082ad9831ad1d7dbddbd99b4c07e76e1db43e /llvm/lib/CodeGen/MachinePipeliner.cpp
parent0ac172d8ede295c30946f6af2dafb68c7c7aa201 (diff)
downloadllvm-1b9fc8ed659589ee2f1d010adfd63f3d890c6ec3.zip
llvm-1b9fc8ed659589ee2f1d010adfd63f3d890c6ec3.tar.gz
llvm-1b9fc8ed659589ee2f1d010adfd63f3d890c6ec3.tar.bz2
Finish renaming remaining analyzeBranch functions
llvm-svn: 281535
Diffstat (limited to 'llvm/lib/CodeGen/MachinePipeliner.cpp')
-rw-r--r--llvm/lib/CodeGen/MachinePipeliner.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/MachinePipeliner.cpp b/llvm/lib/CodeGen/MachinePipeliner.cpp
index 886f1bd..516296c 100644
--- a/llvm/lib/CodeGen/MachinePipeliner.cpp
+++ b/llvm/lib/CodeGen/MachinePipeliner.cpp
@@ -2363,7 +2363,7 @@ void SwingSchedulerDAG::generateProlog(SMSchedule &Schedule, unsigned LastStage,
// Check if we need to remove the branch from the preheader to the original
// loop, and replace it with a branch to the new loop.
- unsigned numBranches = TII->RemoveBranch(*PreheaderBB);
+ unsigned numBranches = TII->removeBranch(*PreheaderBB);
if (numBranches) {
SmallVector<MachineOperand, 0> Cond;
TII->insertBranch(*PreheaderBB, PrologBBs[0], nullptr, Cond, DebugLoc());
@@ -2452,7 +2452,7 @@ void SwingSchedulerDAG::generateEpilog(SMSchedule &Schedule, unsigned LastStage,
// Create a branch to the new epilog from the kernel.
// Remove the original branch and add a new branch to the epilog.
- TII->RemoveBranch(*KernelBB);
+ TII->removeBranch(*KernelBB);
TII->insertBranch(*KernelBB, KernelBB, EpilogStart, Cond, DebugLoc());
// Add a branch to the loop exit.
if (EpilogBBs.size() > 0) {