This is an archive of the discontinued LLVM Phabricator instance.

[LoopVersioning] Get versionLoop to return a basic block with RT checks + allow user's RuntimePointerChecking in annotateLoopWithNoAlias and prepareNoAliasMetadata
Needs ReviewPublic

Authored by eastig on Oct 13 2016, 7:25 AM.

Details

Summary
  • A user of LoopVersioning might need a basic block where RT checks have been created. This patch provides such functionality.
  • LoopVersioning allows a user to provide own checks. Also LoopVersioning can annotate a loop with no-alias metadata but it uses RuntimePointerChecking provided by LoopAccessInfo. This RuntimePointerChecking must correspond to the checks provided by the user which is not always possible. This patch allows a user to provide RuntimePointerChecking which corresponds to the provided checks.

Event Timeline

eastig updated this revision to Diff 74506.Oct 13 2016, 7:25 AM
eastig retitled this revision from to [LoopVersioning] Get versionLoop to return a basic block with RT checks + allow user's RuntimePointerChecking in annotateLoopWithNoAlias and prepareNoAliasMetadata.
eastig updated this object.
eastig added reviewers: anemet, sbaranga, ashutosh.nema.
eastig added a subscriber: llvm-commits.