[PATCH] D71938: [SCCP] Use constant ranges for casts.

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 20 13:07:44 PST 2020


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

Only cast between integer types with constant ranges.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D71938

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D71938.245727.patch
Type: text/x-patch
Size: 11590 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200220/3af837c6/attachment-0001.bin>


More information about the llvm-commits mailing list