CodeGeneration: No need to forget SCoP.

As we do not delete the SCoP, there is no need to remove it from the SCoP
detection.

llvm-svn: 131356
This commit is contained in:
Tobias Grosser 2011-05-14 19:02:21 +00:00
parent 678dbbf3b0
commit e91c53d2a9
3 changed files with 0 additions and 13 deletions

View File

@ -244,11 +244,6 @@ public:
const_iterator end() const { return ValidRegions.end(); }
//@}
/// @brief Remove a region and its children from valid region set.
///
/// @param R The region to remove.
void forgetScop(const Region &R);
/// @brief Mark the function as invalid so we will not extract any scop from
/// the function.
///

View File

@ -624,11 +624,6 @@ void polly::ScopDetection::verifyAnalysis() const {
verifyRegion(**I);
}
void ScopDetection::forgetScop(const Region &R) {
assert(isMaxRegionInScop(R) && "R is not a Scop!");
ValidRegions.erase(&R);
}
void ScopDetection::getAnalysisUsage(AnalysisUsage &AU) const {
AU.addRequired<DominatorTree>();
AU.addRequired<PostDominatorTree>();

View File

@ -1470,9 +1470,6 @@ class CodeGeneration : public ScopPass {
mergeControlFlow(splitBlock, &builder);
// Forget the Scop.
SD->forgetScop(*region);
return false;
}