aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/BranchFolding.cpp
diff options
context:
space:
mode:
authorKrzysztof Parzyszek <kparzysz@quicinc.com>2020-01-21 09:47:35 -0600
committerKrzysztof Parzyszek <kparzysz@quicinc.com>2020-01-21 10:15:38 -0600
commit020041d99b508ed5f207c0896a19b3e85c942ee7 (patch)
treee0c0db79ad009c12a650e5b0d12c9157ca4a8e50 /llvm/lib/CodeGen/BranchFolding.cpp
parent1fbb1d6df0113ca341f6d257bc72e07343dd861a (diff)
downloadllvm-020041d99b508ed5f207c0896a19b3e85c942ee7.zip
llvm-020041d99b508ed5f207c0896a19b3e85c942ee7.tar.gz
llvm-020041d99b508ed5f207c0896a19b3e85c942ee7.tar.bz2
Update spelling of {analyze,insert,remove}Branch in strings and comments
These names have been changed from CamelCase to camelCase, but there were many places (comments mostly) that still used the old names. This change is NFC.
Diffstat (limited to 'llvm/lib/CodeGen/BranchFolding.cpp')
-rw-r--r--llvm/lib/CodeGen/BranchFolding.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/BranchFolding.cpp b/llvm/lib/CodeGen/BranchFolding.cpp
index 4b9c50a..a38c4f3 100644
--- a/llvm/lib/CodeGen/BranchFolding.cpp
+++ b/llvm/lib/CodeGen/BranchFolding.cpp
@@ -1437,7 +1437,7 @@ ReoptimizeBlock:
// has been used, but it can happen if tail merging splits a fall-through
// predecessor of a block.
// This has to check PrevBB->succ_size() because EH edges are ignored by
- // AnalyzeBranch.
+ // analyzeBranch.
if (PriorCond.empty() && !PriorTBB && MBB->pred_size() == 1 &&
PrevBB.succ_size() == 1 &&
!MBB->hasAddressTaken() && !MBB->isEHPad()) {