[PATCH] D70043: [ConstantRange] Add `mulWithNoWrap()` method

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 4 06:16:02 PST 2019


lebedev.ri updated this revision to Diff 232107.
lebedev.ri added a reviewer: sanjoy.
lebedev.ri added a comment.

Split `ConstantRange::getClosestToZero()` into it's own review.
Added `ConstantRange::shlWithNoWrap()` support in a follow-up patch.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D70043

Files:
  llvm/include/llvm/IR/ConstantRange.h
  llvm/lib/IR/ConstantRange.cpp
  llvm/unittests/IR/ConstantRangeTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D70043.232107.patch
Type: text/x-patch
Size: 7188 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191204/e1f2d302/attachment.bin>


More information about the llvm-commits mailing list