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

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Sat Oct 29 06:34:13 PDT 2016


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

Simplified ExpandCTTZ_ZERO_UNDEF since we know its ISD::CTTZ_ZERO_UNDEF - thanks Craig


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.76300.patch
Type: text/x-patch
Size: 136726 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161029/8af0649c/attachment.bin>


More information about the llvm-commits mailing list