[PATCH] D69387: [ConstantRange] Add toKnownBits() method

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 25 11:11:57 PDT 2019


lebedev.ri updated this revision to Diff 226465.
lebedev.ri marked 5 inline comments as done.
lebedev.ri added a comment.

Rebased, hoisted the math into `APIntOps::GetPositionOfMostSignificantDifferentBit()`/D69439 <https://reviews.llvm.org/D69439>.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D69387

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D69387.226465.patch
Type: text/x-patch
Size: 6401 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191025/e17dedeb/attachment.bin>


More information about the llvm-commits mailing list