[PATCH] D45173: [InstCombine] Recognize idioms for ctpop and ctlz

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 3 17:34:03 PDT 2018


craig.topper added a comment.

I'm not sure what I propose. The code in compiler-rt is in hackers delight but the last set of shifts and adds are in a different order. Did you have a real world application or benchmark that was motivating this change?


Repository:
  rL LLVM

https://reviews.llvm.org/D45173





More information about the llvm-commits mailing list