[PATCH] D25910: [VectorLegalizer] Expansion of CTLZ using CTPOP when possible

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 7 13:35:32 PST 2016


RKSimon updated this revision to Diff 77092.
RKSimon added a comment.

Limit vector expansion to power-of-2 sized elements


Repository:
  rL LLVM

https://reviews.llvm.org/D25910

Files:
  lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
  lib/Target/X86/X86TargetTransformInfo.cpp
  test/Analysis/CostModel/X86/ctbits-cost.ll
  test/CodeGen/X86/vec_ctbits.ll
  test/CodeGen/X86/vector-lzcnt-128.ll
  test/Transforms/SLPVectorizer/X86/ctlz.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D25910.77092.patch
Type: text/x-patch
Size: 136764 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161107/dcf41cac/attachment-0001.bin>


More information about the llvm-commits mailing list