summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis
diff options
context:
space:
mode:
authorAdam Nemet <anemet@apple.com>2015-08-04 05:16:20 +0000
committerAdam Nemet <anemet@apple.com>2015-08-04 05:16:20 +0000
commit87011187920266bdec81a52ad24768f46b479fb0 (patch)
tree6c35594e2d5d9330e2a74794747379a1a8b0ec11 /llvm/lib/Analysis
parent0003878466b18808018577efa64d1dc4067d0a5b (diff)
downloadbcm5719-llvm-87011187920266bdec81a52ad24768f46b479fb0.tar.gz
bcm5719-llvm-87011187920266bdec81a52ad24768f46b479fb0.zip
[LAA] Remove unused pointer partition argument from addRuntimeCheck, NFC
This variant of addRuntimeCheck is only used now from the LoopVectorizer which does not use this parameter. llvm-svn: 243955
Diffstat (limited to 'llvm/lib/Analysis')
-rw-r--r--llvm/lib/Analysis/LoopAccessAnalysis.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Analysis/LoopAccessAnalysis.cpp b/llvm/lib/Analysis/LoopAccessAnalysis.cpp
index eca98cf011c..8c4ae93a64f 100644
--- a/llvm/lib/Analysis/LoopAccessAnalysis.cpp
+++ b/llvm/lib/Analysis/LoopAccessAnalysis.cpp
@@ -1726,11 +1726,11 @@ std::pair<Instruction *, Instruction *> LoopAccessInfo::addRuntimeCheck(
}
std::pair<Instruction *, Instruction *> LoopAccessInfo::addRuntimeCheck(
- Instruction *Loc, const SmallVectorImpl<int> *PtrPartition) const {
+ Instruction *Loc) const {
if (!PtrRtChecking.Need)
return std::make_pair(nullptr, nullptr);
- return addRuntimeCheck(Loc, PtrRtChecking.generateChecks(PtrPartition));
+ return addRuntimeCheck(Loc, PtrRtChecking.generateChecks());
}
LoopAccessInfo::LoopAccessInfo(Loop *L, ScalarEvolution *SE,
OpenPOWER on IntegriCloud