summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp
diff options
context:
space:
mode:
authorSimon Atanasyan <simon@atanasyan.com>2019-04-03 10:08:27 +0000
committerSimon Atanasyan <simon@atanasyan.com>2019-04-03 10:08:27 +0000
commiteb9ae56157d7ca5211a61688ffc429dfb1e1f0f5 (patch)
treef4e86d9acabd46d3852ae43b69ede382371a1e5f /llvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp
parente475c89700ae725a1b187b28f625194d30295e9f (diff)
downloadbcm5719-llvm-eb9ae56157d7ca5211a61688ffc429dfb1e1f0f5.tar.gz
bcm5719-llvm-eb9ae56157d7ca5211a61688ffc429dfb1e1f0f5.zip
[mips] Remove unused FGRH32 register class. NFC
If we need this class in the future we will easily restore it. Differential Revision: http://reviews.llvm.org/D60132 llvm-svn: 357570
Diffstat (limited to 'llvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp')
-rw-r--r--llvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/llvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp b/llvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp
index 927b15e916f..a7148f7156e 100644
--- a/llvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp
+++ b/llvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp
@@ -892,14 +892,6 @@ private:
.getRegister(RegIdx.Index);
}
- /// Coerce the register to FGRH32 and return the real register for the current
- /// target.
- unsigned getFGRH32Reg() const {
- assert(isRegIdx() && (RegIdx.Kind & RegKind_FGR) && "Invalid access!");
- return RegIdx.RegInfo->getRegClass(Mips::FGRH32RegClassID)
- .getRegister(RegIdx.Index);
- }
-
/// Coerce the register to FCC and return the real register for the current
/// target.
unsigned getFCCReg() const {
@@ -1097,11 +1089,6 @@ public:
"registers");
}
- void addFGRH32AsmRegOperands(MCInst &Inst, unsigned N) const {
- assert(N == 1 && "Invalid number of operands!");
- Inst.addOperand(MCOperand::createReg(getFGRH32Reg()));
- }
-
void addFCCAsmRegOperands(MCInst &Inst, unsigned N) const {
assert(N == 1 && "Invalid number of operands!");
Inst.addOperand(MCOperand::createReg(getFCCReg()));
OpenPOWER on IntegriCloud