[PATCH] D59450: [ValueTracking] Use ConstantRange overflow check for signed add (NFC)

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Mar 17 05:46:33 PDT 2019


lebedev.ri added a comment.

Actually, one more thought: why `[un]signedConstantRangeFromKnownBits()` are here, in `ValueTracking`?
Can they go into `KnownBits` class e.g. (`as{Uns,S}ignedConstantRange()`)?


Repository:
  rL LLVM

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

https://reviews.llvm.org/D59450





More information about the llvm-commits mailing list