[NFC] Simplify code

llvm-svn: 271889
This commit is contained in:
Johannes Doerfert 2016-06-06 12:13:24 +00:00
parent dedb7693ec
commit 6a6a671c72
1 changed files with 2 additions and 2 deletions

View File

@ -208,13 +208,13 @@ public:
fixRegionInfo(EnteringBB->getParent(), R->getParent());
}
verifyGeneratedFunction(S, *EnteringBB->getParent());
Function *F = EnteringBB->getParent();
verifyGeneratedFunction(S, *F);
for (auto *SubF : NodeBuilder.getParallelSubfunctions())
verifyGeneratedFunction(S, *SubF);
// Mark the function such that we run additional cleanup passes on this
// function (e.g. mem2reg to rediscover phi nodes).
Function *F = EnteringBB->getParent();
F->addFnAttr("polly-optimized");
return true;