summaryrefslogtreecommitdiffstats
path: root/polly/lib/CodeGen/CodeGeneration.cpp
diff options
context:
space:
mode:
authorJohannes Doerfert <doerfert@cs.uni-saarland.de>2016-06-06 12:13:24 +0000
committerJohannes Doerfert <doerfert@cs.uni-saarland.de>2016-06-06 12:13:24 +0000
commit6a6a671c72972d7777f28d944f4f5a1e34a76fe1 (patch)
tree19d5f37de9c21f9d3e7983f4cd3fe62b6eea6395 /polly/lib/CodeGen/CodeGeneration.cpp
parentdedb7693ec2d6c37f7d6c36f13b562fd63903cca (diff)
downloadbcm5719-llvm-6a6a671c72972d7777f28d944f4f5a1e34a76fe1.tar.gz
bcm5719-llvm-6a6a671c72972d7777f28d944f4f5a1e34a76fe1.zip
[NFC] Simplify code
llvm-svn: 271889
Diffstat (limited to 'polly/lib/CodeGen/CodeGeneration.cpp')
-rw-r--r--polly/lib/CodeGen/CodeGeneration.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/polly/lib/CodeGen/CodeGeneration.cpp b/polly/lib/CodeGen/CodeGeneration.cpp
index 49d240dea44..ce1098fa444 100644
--- a/polly/lib/CodeGen/CodeGeneration.cpp
+++ b/polly/lib/CodeGen/CodeGeneration.cpp
@@ -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;
OpenPOWER on IntegriCloud