[PATCH] D157800: [ValueTracking] Improve analysis of knownbits from incoming phi edges.

Noah Goldstein via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Aug 12 18:26:27 PDT 2023


goldstein.w.n marked an inline comment as done.
goldstein.w.n added inline comments.


================
Comment at: llvm/lib/Analysis/ValueTracking.cpp:1530
               default:
-                // TODO - add additional integer predicate handling.
                 break;
               }
----------------
nikic wrote:
> Can this code be reduced to `ConstantRange::makeExactICmpRegion()` + `ConstantRange::toKnownBits()`?
Convenient :)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D157800



More information about the llvm-commits mailing list