[PATCH] D137713: [SCCP] Add support for with.overflow intrinsics

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 9 06:43:47 PST 2022


nikic created this revision.
nikic added reviewers: fhahn, efriedma.
Herald added a subscriber: hiraditya.
Herald added a project: All.
nikic requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

This adds SCCP for extractvalues of with.overflow. We compute both the range of the result value and determine when the overflow value is always false.


https://reviews.llvm.org/D137713

Files:
  llvm/lib/Transforms/Utils/SCCPSolver.cpp
  llvm/test/Transforms/SCCP/with.overflow.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D137713.474257.patch
Type: text/x-patch
Size: 10165 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221109/9f0a2d64/attachment.bin>


More information about the llvm-commits mailing list