[PATCH] D125332: [ValueTracking] Added support to deduce PHI Nodes values being a power of 2

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 19 06:22:54 PDT 2022


spatel accepted this revision.
spatel added a comment.
This revision is now accepted and ready to land.

LGTM - do you have commit privileges?

Note: it might be worth comparing this code to the SelectionDAG equivalent; that ends by calling computeKnownBits to catch all of the non-special cases while this code just gives up (returns false).


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D125332



More information about the llvm-commits mailing list