[PATCH] D68035: [PowerPC] Extend custom lower of vector truncate to handle wider input

Roland Froese via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 25 09:44:51 PDT 2019


RolandF created this revision.
RolandF added a reviewer: PowerPC.
Herald added subscribers: llvm-commits, shchenz, wuzish, jsji, MaskRay, kbarton, hiraditya, nemanjai.
Herald added a project: LLVM.

Current custom lowering of truncate vector handles a source of up to 128 bits, but that only uses one of the two shuffle vector operands.  Extend it to use both operands to handle 256 bit sources.


https://reviews.llvm.org/D68035

Files:
  llvm/lib/Target/PowerPC/PPCISelLowering.cpp
  llvm/test/CodeGen/PowerPC/vec-trunc.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D68035.221789.patch
Type: text/x-patch
Size: 4191 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190925/c2d7364b/attachment.bin>


More information about the llvm-commits mailing list