This is an archive of the discontinued LLVM Phabricator instance.

[ScalarEvolution] Analyze ranges for heap allocations
ClosedPublic

Authored by aeubanks on Jun 28 2023, 2:10 PM.

Details

Summary

Followup to D153624. Allows for better exit count calculations for loops checking heap allocations against null.

Diff Detail

Event Timeline

aeubanks created this revision.Jun 28 2023, 2:10 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 28 2023, 2:10 PM
aeubanks requested review of this revision.Jun 28 2023, 2:10 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 28 2023, 2:10 PM
nikic accepted this revision.Jun 29 2023, 12:41 AM

LGTM

This revision is now accepted and ready to land.Jun 29 2023, 12:41 AM
xbolva00 added inline comments.
llvm/lib/Analysis/ScalarEvolution.cpp
6813

Update comment

This revision was landed with ongoing or failed builds.Jun 29 2023, 9:36 AM
This revision was automatically updated to reflect the committed changes.
aeubanks added inline comments.Jun 29 2023, 9:37 AM
llvm/lib/Analysis/ScalarEvolution.cpp
6813

missed this before submitting, done in b4d9cd2d61c037996ba972becbe45b79df99a15a