[PATCH] D32605: Recognize CTLZ builtin

Evgeny Stupachenko via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 11 16:18:56 PDT 2017


evstupac updated this revision to Diff 98699.
evstupac added a comment.

Add a TTI guard using existing "getIntrinsicCost" function.


Repository:
  rL LLVM

https://reviews.llvm.org/D32605

Files:
  lib/Transforms/Scalar/LoopIdiomRecognize.cpp
  test/Transforms/LoopIdiom/X86/ctlz.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D32605.98699.patch
Type: text/x-patch
Size: 16995 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170511/c1caea81/attachment.bin>


More information about the llvm-commits mailing list