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

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 25 07:00:46 PDT 2019


lebedev.ri updated this revision to Diff 226424.
lebedev.ri edited the summary of this revision.
lebedev.ri added a comment.

Ok, 100% match to brute-force knownbits.
PTAL.


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.226424.patch
Type: text/x-patch
Size: 6730 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191025/6346b334/attachment.bin>


More information about the llvm-commits mailing list