[PATCH] D143363: [ValueTracking] Search dominate condition to check if a value is pow2 or not

chenglin.bi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 8 21:21:36 PST 2023


bcl5980 updated this revision to Diff 496020.
bcl5980 added a comment.

add negative test for OrZero is false.


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

https://reviews.llvm.org/D143363

Files:
  llvm/lib/Analysis/ValueTracking.cpp
  llvm/test/Analysis/ValueTracking/known-power-of-two-urem.ll
  llvm/test/Transforms/InstCombine/icmp-dom.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D143363.496020.patch
Type: text/x-patch
Size: 10110 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230209/31878a83/attachment.bin>


More information about the llvm-commits mailing list