This is an archive of the discontinued LLVM Phabricator instance.

[SCCP] Add support for with.overflow intrinsics
ClosedPublic

Authored by nikic on Nov 9 2022, 6:43 AM.

Details

Summary

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

Diff Detail

Event Timeline

nikic created this revision.Nov 9 2022, 6:43 AM
Herald added a project: Restricted Project. · View Herald TranscriptNov 9 2022, 6:43 AM
Herald added a subscriber: hiraditya. · View Herald Transcript
nikic requested review of this revision.Nov 9 2022, 6:43 AM
Herald added a project: Restricted Project. · View Herald TranscriptNov 9 2022, 6:43 AM
nikic edited the summary of this revision. (Show Details)Nov 9 2022, 6:46 AM
fhahn accepted this revision.Dec 5 2022, 2:47 AM

LGTM, thanks!

This revision is now accepted and ready to land.Dec 5 2022, 2:47 AM
This revision was automatically updated to reflect the committed changes.