Skip to content

Commit 60054dc

Browse files
committed
[NFC] Lowercase the first letter of functions defined in SimplifyCFG.cpp
1 parent 937cbe2 commit 60054dc

File tree

3 files changed

+153
-153
lines changed

3 files changed

+153
-153
lines changed

llvm/include/llvm/Transforms/Utils/Local.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ bool FlattenCFG(BasicBlock *BB, AAResults *AA = nullptr);
195195
/// If this basic block is ONLY a setcc and a branch, and if a predecessor
196196
/// branches to us and one of our successors, fold the setcc into the
197197
/// predecessor and use logical operations to pick the right destination.
198-
bool FoldBranchToCommonDest(BranchInst *BI, llvm::DomTreeUpdater *DTU = nullptr,
198+
bool foldBranchToCommonDest(BranchInst *BI, llvm::DomTreeUpdater *DTU = nullptr,
199199
MemorySSAUpdater *MSSAU = nullptr,
200200
const TargetTransformInfo *TTI = nullptr,
201201
unsigned BonusInstThreshold = 1);

llvm/lib/Transforms/Utils/LoopSimplify.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -659,7 +659,7 @@ static bool simplifyOneLoop(Loop *L, SmallVectorImpl<Loop *> &Worklist,
659659
// The block has now been cleared of all instructions except for
660660
// a comparison and a conditional branch. SimplifyCFG may be able
661661
// to fold it now.
662-
if (!FoldBranchToCommonDest(BI, /*DTU=*/nullptr, MSSAU))
662+
if (!foldBranchToCommonDest(BI, /*DTU=*/nullptr, MSSAU))
663663
continue;
664664

665665
// Success. The block is now dead, so remove it from the loop,

0 commit comments

Comments
 (0)