[PATCH] D28777: [InstCombine][SSE] Add DemandedElts support for PACKSS/PACKUS instructions

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 16 10:00:51 PST 2017


RKSimon created this revision.
RKSimon added reviewers: mkuper, m_zuckerman, spatel, andreadb.
RKSimon added a subscriber: llvm-commits.
RKSimon set the repository for this revision to rL LLVM.

Simplify a packss/packus truncation based on the elements of the mask that are actually demanded.


Repository:
  rL LLVM

https://reviews.llvm.org/D28777

Files:
  lib/Transforms/InstCombine/InstCombineCalls.cpp
  lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
  test/Transforms/InstCombine/x86-pack.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D28777.84576.patch
Type: text/x-patch
Size: 12789 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170116/3456e631/attachment.bin>


More information about the llvm-commits mailing list