diff options
author | Zoran Jovanovic <zoran.jovanovic@imgtec.com> | 2013-11-04 14:53:22 +0000 |
---|---|---|
committer | Zoran Jovanovic <zoran.jovanovic@imgtec.com> | 2013-11-04 14:53:22 +0000 |
commit | 5c042162beb3c2dd556e00aab84c4278a69cd5b1 (patch) | |
tree | a42a4d0608dae1d976c304d4bd2ecc4979a2d569 /lib/Target/Mips/MipsCodeEmitter.cpp | |
parent | 6a907f8c7d6b440bbadaa9aaafb03b489673ae1f (diff) | |
download | external_llvm-5c042162beb3c2dd556e00aab84c4278a69cd5b1.zip external_llvm-5c042162beb3c2dd556e00aab84c4278a69cd5b1.tar.gz external_llvm-5c042162beb3c2dd556e00aab84c4278a69cd5b1.tar.bz2 |
Support for microMIPS branch instructions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193992 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Mips/MipsCodeEmitter.cpp')
-rw-r--r-- | lib/Target/Mips/MipsCodeEmitter.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/Target/Mips/MipsCodeEmitter.cpp b/lib/Target/Mips/MipsCodeEmitter.cpp index 3c737e6..f4e1e18 100644 --- a/lib/Target/Mips/MipsCodeEmitter.cpp +++ b/lib/Target/Mips/MipsCodeEmitter.cpp @@ -106,6 +106,8 @@ private: unsigned getJumpTargetOpValue(const MachineInstr &MI, unsigned OpNo) const; unsigned getJumpTargetOpValueMM(const MachineInstr &MI, unsigned OpNo) const; + unsigned getBranchTargetOpValueMM(const MachineInstr &MI, + unsigned OpNo) const; unsigned getBranchTargetOpValue(const MachineInstr &MI, unsigned OpNo) const; unsigned getMemEncoding(const MachineInstr &MI, unsigned OpNo) const; @@ -194,6 +196,12 @@ unsigned MipsCodeEmitter::getJumpTargetOpValueMM(const MachineInstr &MI, return 0; } +unsigned MipsCodeEmitter::getBranchTargetOpValueMM(const MachineInstr &MI, + unsigned OpNo) const { + llvm_unreachable("Unimplemented function."); + return 0; +} + unsigned MipsCodeEmitter::getBranchTargetOpValue(const MachineInstr &MI, unsigned OpNo) const { MachineOperand MO = MI.getOperand(OpNo); |