HomePhabricator

[LDist][LVer] Explicitly pass the set of memchecks to LoopVersioning, NFC

Description

[LDist][LVer] Explicitly pass the set of memchecks to LoopVersioning, NFC

Before the patch, the checks were generated internally in
addRuntimeCheck. Now, we use the new overloaded version of
addRuntimeCheck that takes the ready-made set of checks as a parameter.

The checks are now generated by the client (LoopDistribution) with the
new RuntimePointerChecking::generateChecks API.

Also the new printChecks API is used to print out the checks for
debugging.

This is to continue the transition over to the new model whereby clients
will get the full set of checks from LAA, filter it and then pass it to
LoopVersioning and in turn to addRuntimeCheck.

Details

Committed
anemetJul 27 2015, 10:01 PM
Parents
rL243381: Make local function isWhitespaceExceptNL static instead of in anonymous…
Branches
Unknown
Tags
Unknown