When disassembler meets compact jump instructions for r6 it crashes as the access...
authorVladimir Medic <Vladimir.Medic@imgtec.com>
Mon, 26 Jan 2015 10:33:43 +0000 (10:33 +0000)
committerVladimir Medic <Vladimir.Medic@imgtec.com>
Mon, 26 Jan 2015 10:33:43 +0000 (10:33 +0000)
commit0516a5b686bb89319a545d56ca18f0d3ceeff2be
treef27eb0c4afa2eff1f0026cd38148ab9a498680a2
parent71d3025ff7d51a172b80aed9b0e834d3fd4fc80f
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
llvm/lib/Target/Mips/Mips32r6InstrInfo.td
llvm/test/MC/Disassembler/Mips/mips32r6/valid-mips32r6-el.txt
llvm/test/MC/Disassembler/Mips/mips32r6/valid-mips32r6.txt
llvm/test/MC/Disassembler/Mips/mips32r6/valid-xfail-mips32r6.txt
llvm/test/MC/Disassembler/Mips/mips64r6/valid-mips64r6-el.txt
llvm/test/MC/Disassembler/Mips/mips64r6/valid-mips64r6.txt
llvm/test/MC/Disassembler/Mips/mips64r6/valid-xfail-mips64r6.txt