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

Adam Nemet anemet at apple.com
Fri Mar 6 13:21:58 PST 2015


Hi hfinkel, aschwaighofer, nadav,

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.

http://reviews.llvm.org/D8124

Files:
  include/llvm/Analysis/LoopAccessAnalysis.h
  lib/Analysis/LoopAccessAnalysis.cpp

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D8124.21390.patch
Type: text/x-patch
Size: 6786 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150306/6d696d64/attachment.bin>


More information about the llvm-commits mailing list