diff options
author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2016-09-14 17:24:15 +0000 |
---|---|---|
committer | Matt Arsenault <Matthew.Arsenault@amd.com> | 2016-09-14 17:24:15 +0000 |
commit | e8e0f5cac6d80b489e58a369a5389387ff91d60a (patch) | |
tree | 88f45d7f6dd53509e9a47978a841322cef0dc665 /llvm/lib/Target/Sparc | |
parent | a2b036e88b8f31c4a2169c1d5634e21c9c8eb927 (diff) | |
download | bcm5719-llvm-e8e0f5cac6d80b489e58a369a5389387ff91d60a.tar.gz bcm5719-llvm-e8e0f5cac6d80b489e58a369a5389387ff91d60a.zip |
Make analyzeBranch family of instruction names consistent
analyzeBranch was renamed to use lowercase first, rename
the related set to match.
llvm-svn: 281506
Diffstat (limited to 'llvm/lib/Target/Sparc')
-rw-r--r-- | llvm/lib/Target/Sparc/SparcInstrInfo.cpp | 4 | ||||
-rw-r--r-- | llvm/lib/Target/Sparc/SparcInstrInfo.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Target/Sparc/SparcInstrInfo.cpp b/llvm/lib/Target/Sparc/SparcInstrInfo.cpp index 61245d21be5..061b9641805 100644 --- a/llvm/lib/Target/Sparc/SparcInstrInfo.cpp +++ b/llvm/lib/Target/Sparc/SparcInstrInfo.cpp @@ -240,13 +240,13 @@ bool SparcInstrInfo::analyzeBranch(MachineBasicBlock &MBB, return true; } -unsigned SparcInstrInfo::InsertBranch(MachineBasicBlock &MBB, +unsigned SparcInstrInfo::insertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB, MachineBasicBlock *FBB, ArrayRef<MachineOperand> Cond, const DebugLoc &DL, int *BytesAdded) const { - assert(TBB && "InsertBranch must not be told to insert a fallthrough"); + assert(TBB && "insertBranch must not be told to insert a fallthrough"); assert((Cond.size() == 1 || Cond.size() == 0) && "Sparc branch conditions should have one component!"); assert(!BytesAdded && "code size not handled"); diff --git a/llvm/lib/Target/Sparc/SparcInstrInfo.h b/llvm/lib/Target/Sparc/SparcInstrInfo.h index 432bb32bce8..91d86cb6453 100644 --- a/llvm/lib/Target/Sparc/SparcInstrInfo.h +++ b/llvm/lib/Target/Sparc/SparcInstrInfo.h @@ -73,7 +73,7 @@ public: unsigned RemoveBranch(MachineBasicBlock &MBB, int *BytesRemoved = nullptr) const override; - unsigned InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB, + unsigned insertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB, MachineBasicBlock *FBB, ArrayRef<MachineOperand> Cond, const DebugLoc &DL, int *BytesAdded = nullptr) const override; |