[PATCH] D60582: [IPSCCP] Add general integer range support.

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 11 14:00:10 PDT 2019


fhahn created this revision.
fhahn added reviewers: davide, efriedma, mssimpso.
Herald added a subscriber: hiraditya.
Herald added a project: LLVM.

This patch switches SCCP to use ValueLatticeElement for lattice values,
instead of the local LatticeVal, to enable integer range support.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D60582

Files:
  llvm/lib/IR/ConstantRange.cpp
  llvm/lib/Transforms/Scalar/SCCP.cpp
  llvm/test/Transforms/SCCP/ip-constant-ranges.ll
  llvm/test/Transforms/SCCP/ipsccp-notnull.ll
  llvm/test/Transforms/SCCP/ipsccp-range-crashes.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D60582.194752.patch
Type: text/x-patch
Size: 63677 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190411/42575dee/attachment.bin>


More information about the llvm-commits mailing list