[LAA] Remove unused needsAnyChecking(), NFC

llvm-svn: 243921
This commit is contained in:
Adam Nemet
2015-08-03 23:33:03 +00:00
parent 6b6082dc42
commit 53e30aec46
2 changed files with 0 additions and 15 deletions

View File

@@ -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.
///