[PATCH] D45816: [mips] Correct the patterns for bswap

Simon Dardis via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 19 07:07:34 PDT 2018


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

Guard the MIPS64 variant correctly for i64, mark the MIPS32 version as not
in microMIPS and provide the microMIPS version.

Additionally, remove a related stale XFAIL'd test as bswap has its own test
case providing coverage.


Repository:
  rL LLVM

https://reviews.llvm.org/D45816

Files:
  lib/Target/Mips/MicroMipsInstrInfo.td
  lib/Target/Mips/Mips64InstrInfo.td
  lib/Target/Mips/MipsInstrInfo.td
  test/CodeGen/Mips/2008-08-08-bswap.ll
  test/CodeGen/Mips/bswap.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D45816.143087.patch
Type: text/x-patch
Size: 3869 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180419/0d0f25d8/attachment.bin>


More information about the llvm-commits mailing list