[mips] Correct the predicates of sign extension instructions
authorSimon Dardis <simon.dardis@mips.com>
Fri, 4 May 2018 15:00:54 +0000 (15:00 +0000)
committerSimon Dardis <simon.dardis@mips.com>
Fri, 4 May 2018 15:00:54 +0000 (15:00 +0000)
commit65b0492f0daa23a655c591d6f23fab9a911f6af2
tree288bbf937f040378a04ec850c2b175c45a85b932
parentbf4c8c0ff294b86ab6769820f20e570b274e78f8
[mips] Correct the predicates of sign extension instructions

And eliminatw the duplication of those instructions for microMIPS32r6.

Reviewers: smaksimovic, abeserminji, atanasyan

Differential Revision: https://reviews.llvm.org/D46117

llvm-svn: 331526
13 files changed:
llvm/lib/Target/Mips/MicroMips32r6InstrFormats.td
llvm/lib/Target/Mips/MicroMips32r6InstrInfo.td
llvm/lib/Target/Mips/MicroMipsInstrInfo.td
llvm/lib/Target/Mips/MipsInstrInfo.td
llvm/test/MC/Mips/micromips/valid.s
llvm/test/MC/Mips/mips32r2/valid.s
llvm/test/MC/Mips/mips32r3/valid.s
llvm/test/MC/Mips/mips32r5/valid.s
llvm/test/MC/Mips/mips32r6/valid.s
llvm/test/MC/Mips/mips64r2/valid.s
llvm/test/MC/Mips/mips64r3/valid.s
llvm/test/MC/Mips/mips64r5/valid.s
llvm/test/MC/Mips/mips64r6/valid.s