[mips] Correct the definitions of the unaligned word memory operation instructions
authorSimon Dardis <simon.dardis@mips.com>
Thu, 19 Apr 2018 13:33:51 +0000 (13:33 +0000)
committerSimon Dardis <simon.dardis@mips.com>
Thu, 19 Apr 2018 13:33:51 +0000 (13:33 +0000)
commit5d61c8b225ec6ab599e0f1ae1cfa702ad7a515f0
treed3ace6254f9b5d940624571b300468299ba3fa57
parentd536de1e7b2b194308624da9aa8a4174b751a522
[mips] Correct the definitions of the unaligned word memory operation instructions

These instructions lacked the correct predicates, were not marked
as loads and stores and lacked the proper instruction mapping information.

In the case of microMIPS sw(l|r)e (EVA) these instructions were using the load
EVA description.

Reviewers: abeserminji, smaksimovic, atanasyan

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

llvm-svn: 330326
llvm/lib/Target/Mips/MicroMipsInstrFormats.td
llvm/lib/Target/Mips/MicroMipsInstrInfo.td
llvm/lib/Target/Mips/MipsEVAInstrInfo.td
llvm/lib/Target/Mips/MipsInstrInfo.td
llvm/test/CodeGen/Mips/unaligned-memops-mapping.mir [new file with mode: 0644]
llvm/test/CodeGen/Mips/unaligned-memops.ll [new file with mode: 0644]