[PATCH] D124889: [ValueTracking] Add support to deduce a PHI node being a power of 2 if each incoming value is a power of 2.

William Junda Huang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 31 15:41:28 PDT 2022


huangjd updated this revision to Diff 433212.
huangjd added a comment.

[ValueTracking] Relaxed requirement of UseInstrInfo in power of 2
recurrece check


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D124889

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D124889.433212.patch
Type: text/x-patch
Size: 6161 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220531/403ae89c/attachment.bin>


More information about the llvm-commits mailing list