diff options
author | Vladimir Medic <Vladimir.Medic@imgtec.com> | 2015-01-26 10:33:43 +0000 |
---|---|---|
committer | Vladimir Medic <Vladimir.Medic@imgtec.com> | 2015-01-26 10:33:43 +0000 |
commit | 0516a5b686bb89319a545d56ca18f0d3ceeff2be (patch) | |
tree | f27eb0c4afa2eff1f0026cd38148ab9a498680a2 /llvm/lib | |
parent | 71d3025ff7d51a172b80aed9b0e834d3fd4fc80f (diff) | |
download | bcm5719-llvm-0516a5b686bb89319a545d56ca18f0d3ceeff2be.tar.gz bcm5719-llvm-0516a5b686bb89319a545d56ca18f0d3ceeff2be.zip |
When disassembler meets compact jump instructions for r6 it crashes as the access to operands array is out of range. This patch removes dedicated decoder method that wrongly handles decoding of these instructions.
llvm-svn: 227084
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/Target/Mips/Mips32r6InstrInfo.td | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/Target/Mips/Mips32r6InstrInfo.td b/llvm/lib/Target/Mips/Mips32r6InstrInfo.td index baf746061be..2175160a45a 100644 --- a/llvm/lib/Target/Mips/Mips32r6InstrInfo.td +++ b/llvm/lib/Target/Mips/Mips32r6InstrInfo.td @@ -379,7 +379,6 @@ class JMP_IDX_COMPACT_DESC_BASE<string opstr, DAGOperand opnd, list<dag> Pattern = []; bit isTerminator = 1; bit hasDelaySlot = 0; - string DecoderMethod = "DecodeSimm16"; } class JIALC_DESC : JMP_IDX_COMPACT_DESC_BASE<"jialc", calloffset16, |