diff options
author | Jacques Pienaar <jpienaar@google.com> | 2016-07-15 14:41:04 +0000 |
---|---|---|
committer | Jacques Pienaar <jpienaar@google.com> | 2016-07-15 14:41:04 +0000 |
commit | 71c30a14b7c808f12025414e2ad01fc8f39a5bfc (patch) | |
tree | 859fd6794aafbdb71604c5beda540c3d973adbc7 /llvm/lib/CodeGen/MachineVerifier.cpp | |
parent | ee40d1e8da38e37a25854868d007720454396648 (diff) | |
download | llvm-71c30a14b7c808f12025414e2ad01fc8f39a5bfc.zip llvm-71c30a14b7c808f12025414e2ad01fc8f39a5bfc.tar.gz llvm-71c30a14b7c808f12025414e2ad01fc8f39a5bfc.tar.bz2 |
Rename AnalyzeBranch* to analyzeBranch*.
Summary: NFC. Rename AnalyzeBranch/AnalyzeBranchPredicate to analyzeBranch/analyzeBranchPredicate to follow LLVM coding style and be consistent with TargetInstrInfo's analyzeCompare and analyzeSelect.
Reviewers: tstellarAMD, mcrosier
Subscribers: mcrosier, jholewinski, jfb, arsenm, dschuff, jyknight, dsanders, nemanjai
Differential Revision: https://reviews.llvm.org/D22409
llvm-svn: 275564
Diffstat (limited to 'llvm/lib/CodeGen/MachineVerifier.cpp')
-rw-r--r-- | llvm/lib/CodeGen/MachineVerifier.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/MachineVerifier.cpp b/llvm/lib/CodeGen/MachineVerifier.cpp index 92e7d0e..a70adb0 100644 --- a/llvm/lib/CodeGen/MachineVerifier.cpp +++ b/llvm/lib/CodeGen/MachineVerifier.cpp @@ -622,8 +622,8 @@ MachineVerifier::visitMachineBasicBlockBefore(const MachineBasicBlock *MBB) { // Call AnalyzeBranch. If it succeeds, there several more conditions to check. MachineBasicBlock *TBB = nullptr, *FBB = nullptr; SmallVector<MachineOperand, 4> Cond; - if (!TII->AnalyzeBranch(*const_cast<MachineBasicBlock *>(MBB), - TBB, FBB, Cond)) { + if (!TII->analyzeBranch(*const_cast<MachineBasicBlock *>(MBB), TBB, FBB, + Cond)) { // Ok, AnalyzeBranch thinks it knows what's going on with this block. Let's // check whether its answers match up with reality. if (!TBB && !FBB) { |