[LAA] Remove unused needsAnyChecking(), NFC
llvm-svn: 243921
This commit is contained in:
@@ -420,17 +420,6 @@ unsigned RuntimePointerChecking::getNumberOfChecks(
|
||||
return CheckCount;
|
||||
}
|
||||
|
||||
bool RuntimePointerChecking::needsAnyChecking(
|
||||
const SmallVectorImpl<int> *PtrPartition) const {
|
||||
unsigned NumPointers = Pointers.size();
|
||||
|
||||
for (unsigned I = 0; I < NumPointers; ++I)
|
||||
for (unsigned J = I + 1; J < NumPointers; ++J)
|
||||
if (needsChecking(I, J, PtrPartition))
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
namespace {
|
||||
/// \brief Analyses memory accesses in a loop.
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user