[PATCH] D80941: [PowerPC][Power10] Implement Count Leading/Trailing Zeroes Builtins under bit Mask in LLVM/Clang

Amy Kwan via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 3 16:35:29 PDT 2020


amyk updated this revision to Diff 268331.
amyk retitled this revision from "[PowerPC][Power10] Implement Count Leading/Trailing Zeroes Builtins in LLVM/Clang" to "[PowerPC][Power10] Implement Count Leading/Trailing Zeroes Builtins under bit Mask in LLVM/Clang".
amyk added a comment.

Addressed review comment of lowering the function prototypes to use `@llvm.ct[t|l]z` and `and`.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D80941/new/

https://reviews.llvm.org/D80941

Files:
  clang/include/clang/Basic/BuiltinsPPC.def
  clang/lib/CodeGen/CGBuiltin.cpp
  clang/lib/Headers/altivec.h
  clang/test/CodeGen/builtins-ppc-p10.c
  clang/test/CodeGen/builtins-ppc-p10vector.c
  llvm/lib/Target/PowerPC/PPCInstrPrefix.td
  llvm/test/CodeGen/PowerPC/p10-bit-manip-ops.ll
  llvm/test/MC/Disassembler/PowerPC/p10insts.txt
  llvm/test/MC/PowerPC/p10.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D80941.268331.patch
Type: text/x-patch
Size: 9459 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200603/8c77e746/attachment-0001.bin>


More information about the cfe-commits mailing list