This is an archive of the discontinued LLVM Phabricator instance.

[LAA-memchecks 3/3] Introduce pointer partitions for memchecks
ClosedPublic

Authored by anemet on Mar 6 2015, 1:21 PM.

Details

Summary

This is the final patch that actually introduces the new parameter of
partition mapping to RuntimePointerCheck::needsChecking.

Another API (LAI::getInstructionsForAccess) is also exposed that helps
to map pointers to instructions because ultimately we partition
instructions.

The WIP version of the Loop Distribution pass in D6930 has been adapted
to use all this. See for example, how
InstrPartitionContainer::computePartitionSetForPointers sets up the
partitions using the above API and then calls to LAI::addRuntimeCheck
with pointer partitions.

Diff Detail

Event Timeline

anemet updated this revision to Diff 21390.Mar 6 2015, 1:21 PM
anemet retitled this revision from to [LAA-memchecks 3/3] Introduce pointer partitions for memchecks.
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).
hfinkel accepted this revision.Mar 7 2015, 11:01 PM
hfinkel edited edge metadata.

LGTM.

This revision is now accepted and ready to land.Mar 7 2015, 11:01 PM
anemet closed this revision.Mar 10 2015, 12:17 PM

r231818