[PATCH] D36656: [SCCP] Propagate integer range information in IPSCCP (WIP).

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 24 10:32:44 PDT 2017


fhahn updated this revision to Diff 112577.
fhahn added a comment.

Update the patch to support all predicates through ConstantRange functions and use a SmallPtrSet to keep track of ICmp instructions to delete (deleting them straight away would invalidate iterators). It would be great if you could have another look now. If that approach is sensible I'll add another review that moves LVILatticeVal to a separate module properly.


https://reviews.llvm.org/D36656

Files:
  include/llvm/Analysis/ValueLattice.h
  lib/Transforms/Scalar/SCCP.cpp
  test/Transforms/SCCP/ip-constan-ranges.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D36656.112577.patch
Type: text/x-patch
Size: 19648 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170824/b3025a36/attachment.bin>


More information about the llvm-commits mailing list