[all-commits] [llvm/llvm-project] a5da8d: [PowerPC] Add missing legalization for vector BSWAP

Nemanja Ivanovic via All-commits all-commits at lists.llvm.org
Tue Dec 17 17:07:52 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: a5da8d90daa3a0c7aead8ef864cc3c291660054b
      https://github.com/llvm/llvm-project/commit/a5da8d90daa3a0c7aead8ef864cc3c291660054b
  Author: Nemanja Ivanovic <nemanja.i.ibm at gmail.com>
  Date:   2019-12-17 (Tue, 17 Dec 2019)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCISelLowering.cpp
    M llvm/lib/Target/PowerPC/PPCInstrVSX.td
    M llvm/lib/Target/PowerPC/PPCTargetTransformInfo.cpp
    M llvm/lib/Target/PowerPC/PPCTargetTransformInfo.h
    A llvm/test/CodeGen/PowerPC/vec-bswap.ll
    A llvm/test/Transforms/LoopVectorize/PowerPC/vectorize-bswap.ll

  Log Message:
  -----------
  [PowerPC] Add missing legalization for vector BSWAP

We somehow missed doing this when we were working on Power9 exploitation.
This just adds the missing legalization and cost for producing the vector
intrinsics.

Differential revision: https://reviews.llvm.org/D70436




More information about the All-commits mailing list