[PATCH] D125942: [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
Wed May 18 18:16:18 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/D125942

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: D125942.430549.patch
Type: text/x-patch
Size: 6163 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220519/670585f7/attachment.bin>


More information about the llvm-commits mailing list