[PATCH] D53214: [X86][SSE] Change CTTZ vector lowering to cttz(x) = ctpop(~x & (x - 1))

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Oct 13 05:14:15 PDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rL344447: [X86][SSE] Change CTTZ vector lowering to cttz(x) = ctpop(~x & (x - 1)) (authored by RKSimon, committed by ).

Changed prior to commit:
  https://reviews.llvm.org/D53214?vs=169477&id=169559#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D53214

Files:
  llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
  llvm/trunk/test/CodeGen/X86/vec_ctbits.ll
  llvm/trunk/test/CodeGen/X86/vector-tzcnt-128.ll
  llvm/trunk/test/CodeGen/X86/vector-tzcnt-256.ll
  llvm/trunk/test/CodeGen/X86/vector-tzcnt-512.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D53214.169559.patch
Type: text/x-patch
Size: 219374 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181013/9eaa4763/attachment-0001.bin>


More information about the llvm-commits mailing list