diff options
author | Reed Kotler <rkotler@mips.com> | 2013-02-15 21:05:58 +0000 |
---|---|---|
committer | Reed Kotler <rkotler@mips.com> | 2013-02-15 21:05:58 +0000 |
commit | 79cd4118090a3c0bc80cafc699a51abf1d6299f3 (patch) | |
tree | 170ce9a5d4817d56602b21344cb2fe1768a30a21 /lib/Target/Mips/MCTargetDesc | |
parent | 5661fcdde295645e5c6f982a25225e682727b5b1 (diff) | |
download | external_llvm-79cd4118090a3c0bc80cafc699a51abf1d6299f3.zip external_llvm-79cd4118090a3c0bc80cafc699a51abf1d6299f3.tar.gz external_llvm-79cd4118090a3c0bc80cafc699a51abf1d6299f3.tar.bz2 |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175297 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Mips/MCTargetDesc')
-rw-r--r-- | lib/Target/Mips/MCTargetDesc/MipsMCCodeEmitter.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/Target/Mips/MCTargetDesc/MipsMCCodeEmitter.cpp b/lib/Target/Mips/MCTargetDesc/MipsMCCodeEmitter.cpp index 4b68b7e..9f2d1e4 100644 --- a/lib/Target/Mips/MCTargetDesc/MipsMCCodeEmitter.cpp +++ b/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(); |