[PATCH] D20862: [mips][microMIPS] Add CodeGen support for SEL.*, SELEQZ, SELNEZ, SELEQZ.* and SELNEZ.* instructions

Zlatko Buljan via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 1 06:53:04 PDT 2016


zbuljan created this revision.
zbuljan added reviewers: sdardis, dsanders, hvarga, zoran.jovanovic.
zbuljan added subscribers: petarj, llvm-commits.
Herald added a reviewer: vkalintiris.
Herald added subscribers: sdardis, dsanders.

The patch adds CodeGen support for microMIPS32r6 SEL.*, SELEQZ, SELNEZ, SELEQZ.* and SELNEZ.* instructions:

  - added DAG pattern definitions for proper selection of instructions
  - separated microMIPS32r6 instructions from equivalent MIPS32r6 instructions using NotInMicroMips predicate
  - added relation between microMIPS32r6 and equivalent MIPS32r6 instructions
  - fixed wrong instruction names
  - updated .ll files with tests for microMIPS32r6 select instructions



http://reviews.llvm.org/D20862

Files:
  lib/Target/Mips/MicroMips32r6InstrInfo.td
  lib/Target/Mips/Mips32r6InstrInfo.td
  lib/Target/Mips/MipsISelLowering.cpp
  test/CodeGen/Mips/llvm-ir/select-dbl.ll
  test/CodeGen/Mips/llvm-ir/select-flt.ll
  test/CodeGen/Mips/llvm-ir/select-int.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D20862.59216.patch
Type: text/x-patch
Size: 25810 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160601/f4e19bc0/attachment.bin>


More information about the llvm-commits mailing list