[PATCH] D43433: [MIPS][MSA] Convert vector integer min/max opcodes to generic implementation

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Feb 17 10:53:59 PST 2018


RKSimon created this revision.
RKSimon added reviewers: sdardis, atanasyan.
Herald added a subscriber: arichardson.

I can't find any reason why we can't just use the SMIN/SMAX/UMIN/UMAX opcodes instead of the MipsISD versions.

Not sure what to do for the max_a/min_a instructions?

Found while investigating https://reviews.llvm.org/D43338

PS - the LLVM project needs more Simons.


Repository:
  rL LLVM

https://reviews.llvm.org/D43433

Files:
  lib/Target/Mips/MipsISelLowering.cpp
  lib/Target/Mips/MipsISelLowering.h
  lib/Target/Mips/MipsMSAInstrInfo.td
  lib/Target/Mips/MipsSEISelLowering.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D43433.134809.patch
Type: text/x-patch
Size: 14374 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180217/16076bca/attachment.bin>


More information about the llvm-commits mailing list