[PATCH] D103788: [InstCombine] Eliminate casts to optimize ctlz operation
Datta Nagraj via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 11 07:58:45 PDT 2021
datta.nagraj updated this revision to Diff 351451.
datta.nagraj added a comment.
Add a test with bitwidth difference of more than log2 between zext src and trunc dst
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D103788/new/
https://reviews.llvm.org/D103788
Files:
llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
llvm/test/Transforms/InstCombine/zext-ctlz-trunc-to-ctlz-add.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D103788.351451.patch
Type: text/x-patch
Size: 6179 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210611/04bab17b/attachment.bin>
More information about the llvm-commits
mailing list