From 385308877ce9c77137b51db5648ef08309dfce37 Mon Sep 17 00:00:00 2001 From: Adam Nemet Date: Sun, 9 Aug 2015 20:06:06 +0000 Subject: [LAA] Remove unused pointer partition argument from generateChecks, NFC LoopDistribution does its own filtering now. llvm-svn: 244420 --- llvm/lib/Analysis/LoopAccessAnalysis.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'llvm/lib/Analysis/LoopAccessAnalysis.cpp') diff --git a/llvm/lib/Analysis/LoopAccessAnalysis.cpp b/llvm/lib/Analysis/LoopAccessAnalysis.cpp index f42b93d6dfa..7ebf76c6c6b 100644 --- a/llvm/lib/Analysis/LoopAccessAnalysis.cpp +++ b/llvm/lib/Analysis/LoopAccessAnalysis.cpp @@ -149,8 +149,7 @@ void RuntimePointerChecking::insert(Loop *Lp, Value *Ptr, bool WritePtr, } SmallVector -RuntimePointerChecking::generateChecks( - const SmallVectorImpl *PtrPartition) const { +RuntimePointerChecking::generateChecks() const { SmallVector Checks; for (unsigned I = 0; I < CheckingGroups.size(); ++I) { @@ -158,7 +157,7 @@ RuntimePointerChecking::generateChecks( const RuntimePointerChecking::CheckingPtrGroup &CGI = CheckingGroups[I]; const RuntimePointerChecking::CheckingPtrGroup &CGJ = CheckingGroups[J]; - if (needsChecking(CGI, CGJ, PtrPartition)) + if (needsChecking(CGI, CGJ)) Checks.push_back(std::make_pair(&CGI, &CGJ)); } } -- cgit v1.2.3