[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
Mon May 9 10:40:16 PDT 2022
huangjd updated this revision to Diff 428131.
huangjd added a comment.
[ValueTracking] Added support to deduce PHI Nodes values being a power of 2
summary: Add Value Tracking support to deduce induction variable being a power of 2, allowing urem optimizations
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.428131.patch
Type: text/x-patch
Size: 7534 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220509/700ba288/attachment-0001.bin>
More information about the llvm-commits
mailing list