[all-commits] [llvm/llvm-project] 6d5e35: [Power9] Remove the PPCISD::XXREVERSE as it has co...

QingShan Zhang via All-commits all-commits at lists.llvm.org
Sun Dec 22 23:44:43 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 6d5e35e89d73711b494c83d3f8b68582d06a0b53
      https://github.com/llvm/llvm-project/commit/6d5e35e89d73711b494c83d3f8b68582d06a0b53
  Author: QingShan Zhang <qshanz at cn.ibm.com>
  Date:   2019-12-23 (Mon, 23 Dec 2019)

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

  Log Message:
  -----------
  [Power9] Remove the PPCISD::XXREVERSE as it has completely the same semantics of ISD::BSWAP

The custom node PPCISD::XXREVERSE 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.

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




More information about the All-commits mailing list