[PATCH] D64869: [SCEV] get more accurate range for AddExpr with NW flag

ChenZheng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 3 22:16:07 PDT 2019


shchenz updated this revision to Diff 218590.
shchenz added a comment.

new implementation not based on `makeGuaranteedNoWrapRegion`


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

https://reviews.llvm.org/D64869

Files:
  llvm/include/llvm/IR/ConstantRange.h
  llvm/include/llvm/IR/Operator.h
  llvm/lib/Analysis/ScalarEvolution.cpp
  llvm/lib/IR/ConstantRange.cpp
  llvm/test/Analysis/ScalarEvolution/max-trip-count.ll
  llvm/test/Analysis/ScalarEvolution/trip-count12.ll
  llvm/test/Analysis/ScalarEvolution/trip-count9.ll
  llvm/unittests/IR/ConstantRangeTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D64869.218590.patch
Type: text/x-patch
Size: 15873 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190904/1fde623d/attachment.bin>


More information about the llvm-commits mailing list