[LDist] Filter the checks locally rather than in LAA, NFC
authorAdam Nemet <anemet@apple.com>
Thu, 30 Jul 2015 03:29:16 +0000 (03:29 +0000)
committerAdam Nemet <anemet@apple.com>
Thu, 30 Jul 2015 03:29:16 +0000 (03:29 +0000)
commit52aafdb50accbf74aee04280a9133ff73499fa43
treecfa1cb92afbba8f1a363243c36cde4b4fb8bb87f
parent11186e1752d832c6283e4a169a9c039749f12b64
[LDist] Filter the checks locally rather than in LAA, NFC

Before, we were passing the pointer partitions to LAA.  Now, we get all
the checks from LAA and filter out the checks within partitions in
LoopDistribution.

This effectively concludes the steps to move filtering memchecks from
LAA into its clients.  There is still some cleanup left to remove the
unused interfaces in LAA that still take PtrPartition.

(Moving this functionality to LoopDistribution also requires
needsChecking on pointers to be made public.)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@243613 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Analysis/LoopAccessAnalysis.h
lib/Transforms/Scalar/LoopDistribute.cpp