[PATCH] D70657: [Power9] Remove the PPCISD::XXREVERSE as it has completely the same semantics of ISD::BSWAP

qshanz via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 25 01:18:42 PST 2019


steven.zhang created this revision.
steven.zhang added reviewers: nemanjai, hfinkel, jsji, PowerPC.
Herald added subscribers: wuzish, kbarton, hiraditya.
Herald added a project: LLVM.
steven.zhang added a parent revision: D70436: [PowerPC] Add missing legalization for vector BSWAP.
steven.zhang edited the summary of this revision.
steven.zhang edited the summary of this revision.

This is a follow up patch with https://reviews.llvm.org/D70436. The custom node PPCISD::XXREVERSE was added by commit https://reviews.llvm.org/D33690, which has completely the same semantics of generic node ISD::BSWAP.  
We need to clean up it as we have the combine rules for bswap in the base class, while nothing for xxreverse.


https://reviews.llvm.org/D70657

Files:
  llvm/lib/Target/PowerPC/PPCISelLowering.cpp
  llvm/lib/Target/PowerPC/PPCISelLowering.h
  llvm/lib/Target/PowerPC/PPCInstrInfo.td
  llvm/lib/Target/PowerPC/PPCInstrVSX.td
  llvm/test/CodeGen/PowerPC/vec_revb.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D70657.230844.patch
Type: text/x-patch
Size: 5318 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191125/5669606b/attachment.bin>


More information about the llvm-commits mailing list