[PATCH] D69217: [ConstantRange] makeGuaranteedNoWrapRegion(): `shl` support

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Oct 19 15:59:48 PDT 2019


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

Clamp max shift amount to bitwidth-1


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D69217

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D69217.225774.patch
Type: text/x-patch
Size: 6955 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191019/4bc94df2/attachment.bin>


More information about the llvm-commits mailing list