[PATCH] D53258: [LegalizeDAG] Add generic vector CTPOP expansion (PR32655) (WIP)

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 23 12:35:10 PDT 2018


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

Updated vector CTPOP expansion to use TargetLowering::expandCTPOP.

We still have the issue with x86 bitcast'd logic operations preventing reassociation.


Repository:
  rL LLVM

https://reviews.llvm.org/D53258

Files:
  lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
  lib/CodeGen/SelectionDAG/TargetLowering.cpp
  lib/Target/X86/X86ISelLowering.cpp
  test/CodeGen/X86/vec_ctbits.ll
  test/CodeGen/X86/vector-lzcnt-128.ll
  test/CodeGen/X86/vector-popcnt-128.ll
  test/CodeGen/X86/vector-tzcnt-128.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D53258.170726.patch
Type: text/x-patch
Size: 27720 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181023/7cbfc17c/attachment.bin>


More information about the llvm-commits mailing list