[PATCH] D123071: Added support to deduce PHI Nodes values being a power of 2 in ValueTracking. This enables more optimizations in applications such as calculating alignment.

William Junda Huang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 4 13:20:22 PDT 2022


huangjd created this revision.
Herald added a subscriber: hiraditya.
Herald added a project: All.
huangjd requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D123071

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: D123071.420291.patch
Type: text/x-patch
Size: 5873 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220404/b15cd29d/attachment-0001.bin>


More information about the llvm-commits mailing list