[mips] Add microMIPS specific addressing patterns.
authorSimon Dardis <simon.dardis@mips.com>
Wed, 20 Jun 2018 22:40:12 +0000 (22:40 +0000)
committerSimon Dardis <simon.dardis@mips.com>
Wed, 20 Jun 2018 22:40:12 +0000 (22:40 +0000)
commit0f111dd70432fe31bf8edd7ec296028ddc394d76
treed8c6dbc07f341874b8cf6b914cd60062258e7ebb
parentd1d83df807649325514a921a19e90d543aab18ad
[mips] Add microMIPS specific addressing patterns.

These are identical but use microMIPS instructions instead of MIPS instructions.

Also, flatten the 'let AdditionalPredicates = [InMicroMips]' by using the
ISA_MICROMIPS adjective. Add tests for constant materialization.

Reviewers: atanasyan, abeserminji, smaksimovic

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

llvm-svn: 335185
llvm/lib/Target/Mips/MicroMipsInstrInfo.td
llvm/lib/Target/Mips/MipsInstrInfo.td
llvm/test/CodeGen/Mips/address-selection.ll [new file with mode: 0644]
llvm/test/CodeGen/Mips/cstmaterialization/isel-materialization.ll [new file with mode: 0644]