summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Mips/MCTargetDesc/MipsMCCodeEmitter.cpp
diff options
context:
space:
mode:
authorReed Kotler <rkotler@mips.com>2013-02-15 21:05:58 +0000
committerReed Kotler <rkotler@mips.com>2013-02-15 21:05:58 +0000
commit76c9bcd43a6088f9f3cc1a928496a76d2ff4e223 (patch)
treee5b67d60ad1d2faa0827816ddf5972bfc94eeed5 /llvm/lib/Target/Mips/MCTargetDesc/MipsMCCodeEmitter.cpp
parent637b23dc63dfbee78891ba95a13f7236df89b2e5 (diff)
downloadbcm5719-llvm-76c9bcd43a6088f9f3cc1a928496a76d2ff4e223.tar.gz
bcm5719-llvm-76c9bcd43a6088f9f3cc1a928496a76d2ff4e223.zip
Remove a final dependency on the form field in tablegen; which is a remnant
of the old jit and which we don't intend to support in mips16 or micromips. This dependency is for the testing of whether an instruction is a pseudo. llvm-svn: 175297
Diffstat (limited to 'llvm/lib/Target/Mips/MCTargetDesc/MipsMCCodeEmitter.cpp')
-rw-r--r--llvm/lib/Target/Mips/MCTargetDesc/MipsMCCodeEmitter.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/llvm/lib/Target/Mips/MCTargetDesc/MipsMCCodeEmitter.cpp b/llvm/lib/Target/Mips/MCTargetDesc/MipsMCCodeEmitter.cpp
index 4b68b7e6fec..9f2d1e4fe59 100644
--- a/llvm/lib/Target/Mips/MCTargetDesc/MipsMCCodeEmitter.cpp
+++ b/llvm/lib/Target/Mips/MCTargetDesc/MipsMCCodeEmitter.cpp
@@ -141,12 +141,6 @@ EncodeInstruction(const MCInst &MI, raw_ostream &OS,
llvm_unreachable("unimplemented opcode in EncodeInstruction()");
const MCInstrDesc &Desc = MCII.get(TmpInst.getOpcode());
- uint64_t TSFlags = Desc.TSFlags;
-
- // Pseudo instructions don't get encoded and shouldn't be here
- // in the first place!
- if ((TSFlags & MipsII::FormMask) == MipsII::Pseudo)
- llvm_unreachable("Pseudo opcode found in EncodeInstruction()");
// Get byte count of instruction
unsigned Size = Desc.getSize();
OpenPOWER on IntegriCloud