[PATCH] D114962: [Support] improve known bits analysis for multiply by power-of-2 (1 set bit)
Sanjay Patel via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 7 10:38:16 PST 2021
spatel added a comment.
In D114962#3176934 <https://reviews.llvm.org/D114962#3176934>, @lebedev.ri wrote:
> Is there an exhaustive test for this method?
I found this:
https://github.com/llvm/llvm-project/blob/e9fae0f19eec1fce746101b410d2345f0fbf89b4/llvm/unittests/Support/KnownBitsTest.cpp#L233
And it did catch a bug in an early draft of this patch, so it seems to be working.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D114962/new/
https://reviews.llvm.org/D114962
More information about the llvm-commits
mailing list