[PATCH] D40881: [ConstantRange] Support for ashr in ConstantRange computation

Max Kazantsev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 7 09:55:15 PST 2017


mkazantsev added inline comments.


================
Comment at: IR/ConstantRange.cpp:963
+  if (getSignedMin().isNonNegative()) {
+    // Upper and Lower of LHS are positive.
+    min = PosMin;
----------------
positive -> non-negative


https://reviews.llvm.org/D40881





More information about the llvm-commits mailing list