[PATCH] D115969: [Support] improve known bits analysis for leading zeros of multiply
Sanjay Patel via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Dec 19 06:21:41 PST 2021
spatel updated this revision to Diff 395326.
spatel added a comment.
Patch updated: use multiply with overflow instead of wide multiply for efficiency (and possibly easier to read). This obsoletes any opportunities for an assert AFAICT.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D115969/new/
https://reviews.llvm.org/D115969
Files:
llvm/lib/Support/KnownBits.cpp
llvm/test/CodeGen/X86/mul128.ll
llvm/test/Transforms/InstCombine/icmp-mul.ll
llvm/test/Transforms/InstCombine/narrow-switch.ll
llvm/test/Transforms/PhaseOrdering/X86/pixel-splat.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D115969.395326.patch
Type: text/x-patch
Size: 8806 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211219/351b8eb2/attachment.bin>
More information about the llvm-commits
mailing list