forked from OSchip/llvm-project
parent
909a3bf21d
commit
2495cfe01d
|
@ -49,12 +49,6 @@ protected:
|
|||
///
|
||||
virtual void getAnalysisUsage(AnalysisUsage &AU) const override;
|
||||
|
||||
public:
|
||||
Scop &getCurScop() const {
|
||||
assert(S && "Not on a Scop!");
|
||||
return *S;
|
||||
}
|
||||
|
||||
private:
|
||||
bool runOnRegion(Region *R, RGPassManager &RGM) override;
|
||||
void print(raw_ostream &OS, const Module *) const override;
|
||||
|
|
|
@ -444,7 +444,7 @@ bool Dependences::runOnScop(Scop &ScopVar) {
|
|||
}
|
||||
|
||||
bool Dependences::isValidScattering(StatementToIslMapTy *NewScattering) {
|
||||
Scop &S = getCurScop();
|
||||
Scop &S = *this->S;
|
||||
|
||||
if (LegalityCheckDisabled)
|
||||
return true;
|
||||
|
|
Loading…
Reference in New Issue