[PATCH] D76611: [SCCP] Use ranges for predicate info conditions.

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 24 08:02:46 PDT 2020


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

Use range information only of either operand is a constant range, instead of for all integer types and drop special case preserving original constant.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D76611

Files:
  llvm/lib/Transforms/Scalar/SCCP.cpp
  llvm/test/Transforms/SCCP/conditions-ranges.ll
  llvm/test/Transforms/SCCP/ip-constant-ranges.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D76611.252318.patch
Type: text/x-patch
Size: 14952 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200324/7d9965fc/attachment.bin>


More information about the llvm-commits mailing list