[PATCH] D70436: [PowerPC] Add missing legalization for vector BSWAP

Nemanja Ivanovic via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 19 05:17:43 PST 2019


nemanjai created this revision.
nemanjai added reviewers: hfinkel, PowerPC.
Herald added subscribers: shchenz, jsji, kbarton, hiraditya.
Herald added a project: LLVM.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D70436

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D70436.230042.patch
Type: text/x-patch
Size: 14992 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191119/cf327517/attachment.bin>


More information about the llvm-commits mailing list