This is an archive of the discontinued LLVM Phabricator instance.

[LV] Split off memcheck block really at the first check
ClosedPublic

Authored by anemet on Feb 3 2015, 11:43 AM.

Details

Summary

I've noticed this while trying to move addRuntimeCheck to LoopAccessAnalysis.

I think that the intention was to early exit from the overflow checking before
the code for the memchecks. This is the entire reason why we compute
FirstCheckInst but then we don't use that as the splitting instruction but the
final check. Looks like an oversight.

Diff Detail

Event Timeline

anemet updated this revision to Diff 19255.Feb 3 2015, 11:43 AM
anemet retitled this revision from to [LV] Split off memcheck block really at the first check.
anemet updated this object.
anemet edited the test plan for this revision. (Show Details)
anemet added reviewers: hfinkel, aschwaighofer, nadav.
anemet added a subscriber: Unknown Object (MLST).
anemet accepted this revision.Feb 3 2015, 2:47 PM
anemet added a reviewer: anemet.
This revision is now accepted and ready to land.Feb 3 2015, 2:47 PM
anemet closed this revision.Feb 3 2015, 2:48 PM

r228056