[PATCH] D101840: [InstCombine] ctlz(x) -> 0 if x is known negative number

Dávid Bolvanský via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 4 13:03:12 PDT 2021


xbolva00 updated this revision to Diff 342836.
xbolva00 retitled this revision from "[InstSimplify] ctlz(x) -> 0 if x is known negative number" to "[InstCombine] ctlz(x) -> 0 if x is known negative number".
xbolva00 added a comment.

Moved to InstCombine.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D101840/new/

https://reviews.llvm.org/D101840

Files:
  llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
  llvm/test/Transforms/InstCombine/ctlz.ll
  llvm/test/Transforms/InstSimplify/call.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D101840.342836.patch
Type: text/x-patch
Size: 6207 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210504/fcf385e8/attachment.bin>


More information about the llvm-commits mailing list