[PATCH] D32605: Recognize CTLZ builtin
Evgeny Stupachenko via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri May 12 13:30:50 PDT 2017
evstupac updated this revision to Diff 98828.
evstupac added a comment.
Herald added a subscriber: javed.absar.
Add a test for armv4t and armv7a.
Update x86 tests to check CPUs that support ctlz and not.
Add a check on insns number in a loop - supposed to check if idiom recognition will remove the loop or not.
Repository:
rL LLVM
https://reviews.llvm.org/D32605
Files:
lib/Transforms/Scalar/LoopIdiomRecognize.cpp
test/Transforms/LoopIdiom/ARM/ctlz.ll
test/Transforms/LoopIdiom/X86/ctlz.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D32605.98828.patch
Type: text/x-patch
Size: 24034 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170512/1d1e2568/attachment.bin>
More information about the llvm-commits
mailing list