mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 12:12:47 +01:00
[LAA] Remove unused pointer partition argument from generateChecks, NFC
LoopDistribution does its own filtering now. llvm-svn: 244420
This commit is contained in:
parent
3ac7e03604
commit
03ba5040ec
@ -437,13 +437,8 @@ private:
|
||||
bool UseDependencies);
|
||||
|
||||
/// Generate the checks and return them.
|
||||
///
|
||||
/// \p PtrToPartition contains the partition number for pointers. If passed,
|
||||
/// omit checks between pointers belonging to the same partition. Partition
|
||||
/// number -1 means that the pointer is used in multiple partitions. In this
|
||||
/// case we can't safely omit the check.
|
||||
SmallVector<PointerCheck, 4>
|
||||
generateChecks(const SmallVectorImpl<int> *PtrPartition = nullptr) const;
|
||||
generateChecks() const;
|
||||
|
||||
/// Holds a pointer to the ScalarEvolution analysis.
|
||||
ScalarEvolution *SE;
|
||||
|
@ -149,8 +149,7 @@ void RuntimePointerChecking::insert(Loop *Lp, Value *Ptr, bool WritePtr,
|
||||
}
|
||||
|
||||
SmallVector<RuntimePointerChecking::PointerCheck, 4>
|
||||
RuntimePointerChecking::generateChecks(
|
||||
const SmallVectorImpl<int> *PtrPartition) const {
|
||||
RuntimePointerChecking::generateChecks() const {
|
||||
SmallVector<PointerCheck, 4> 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));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user