[mips] Guard traps for microMIPS correctly
authorSimon Dardis <simon.dardis@mips.com>
Tue, 13 Mar 2018 15:46:58 +0000 (15:46 +0000)
committerSimon Dardis <simon.dardis@mips.com>
Tue, 13 Mar 2018 15:46:58 +0000 (15:46 +0000)
commitd5ae61d49d5bb8f8af07fee043dfc0da4cdd3137
tree3d1e263682ab81d599d98c8ef3593b2943d709f8
parentf5220fb68f2baef2e6d2e0bf11c12caa9e22ef29
[mips] Guard traps for microMIPS correctly

This is part of fixing the instruction predicates for MIPS.

Reviewers: atanasyan, abeserminji

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

llvm-svn: 327409
17 files changed:
llvm/lib/Target/Mips/MicroMipsInstrInfo.td
llvm/lib/Target/Mips/MipsInstrInfo.td
llvm/test/MC/Mips/micromips32r6/valid.s
llvm/test/MC/Mips/mips2/valid.s
llvm/test/MC/Mips/mips3/valid.s
llvm/test/MC/Mips/mips32/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/mips4/valid.s
llvm/test/MC/Mips/mips5/valid.s
llvm/test/MC/Mips/mips64/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