[PATCH] D15718: Recognize patterns for ctpop and ctlz in instcombine
Krzysztof Parzyszek via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 22 09:19:16 PST 2015
kparzysz created this revision.
kparzysz added a reviewer: majnemer.
kparzysz added a subscriber: llvm-commits.
kparzysz set the repository for this revision to rL LLVM.
Recognize the patterns for population count and for count-leading-zeros in the instruction combiner and replace them with calls to the corresponding intrinsics.
The patterns are based on those in "Hacker's Delight".
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 25714 bytes
Desc: not available
More information about the llvm-commits