[all-commits] [llvm/llvm-project] 94206f: [PowerPC] Remove vnot_ppc and replace with the sta...

Craig Topper via All-commits all-commits at lists.llvm.org
Sun Jan 31 20:04:22 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 94206f1f90fee1b92c49234a17cf8e1781179146
      https://github.com/llvm/llvm-project/commit/94206f1f90fee1b92c49234a17cf8e1781179146
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2021-01-31 (Sun, 31 Jan 2021)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCInstrAltivec.td
    M llvm/lib/Target/PowerPC/PPCInstrPrefix.td
    M llvm/lib/Target/PowerPC/PPCInstrVSX.td

  Log Message:
  -----------
  [PowerPC] Remove vnot_ppc and replace with the standard vnot.

immAllOnesV has special support for looking through bitcasts
automatically so isel patterns don't need to explicitly look
for the bitconvert.


  Commit: ce27b327158e6ae7b726b6d867b7db5117a90b73
      https://github.com/llvm/llvm-project/commit/ce27b327158e6ae7b726b6d867b7db5117a90b73
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2021-01-31 (Sun, 31 Jan 2021)

  Changed paths:
    M llvm/lib/Target/Mips/MipsMSAInstrInfo.td

  Log Message:
  -----------
  [Mips] Cleanup isel patterns to use 'vnot' instead of (xor X, immAllOnesV). NFCI

A couple patterns used bitconvert on the immAllOnesV, but
the isel matching uses ISD::isBuildVectorAllOnes which
is able to look through bitcasts. So isel patterns don't need
to do it explicitly.


Compare: https://github.com/llvm/llvm-project/compare/ff4602689735...ce27b327158e


More information about the All-commits mailing list