summaryrefslogtreecommitdiffstats
path: root/polly/lib/CodeGen/PPCGCodeGeneration.cpp
diff options
context:
space:
mode:
authorTobias Grosser <tobias@grosser.es>2016-07-25 09:15:57 +0000
committerTobias Grosser <tobias@grosser.es>2016-07-25 09:15:57 +0000
commit8ed5e5999f2b3239212e051c38958d7229b9b9bc (patch)
tree17f15bd5da63b9d63e2dc4c32270aff793e85f1a /polly/lib/CodeGen/PPCGCodeGeneration.cpp
parent0a1a2720c86d5a5fc5577896bc1946544d6d2af9 (diff)
downloadbcm5719-llvm-8ed5e5999f2b3239212e051c38958d7229b9b9bc.tar.gz
bcm5719-llvm-8ed5e5999f2b3239212e051c38958d7229b9b9bc.zip
IslNodeBuilder: Make finalize() virtual
This allows the finalization routine of the IslNodeBuilder to be overwritten by derived classes. Being here, we also drop the unnecessary 'Scop' postfix and the unnecessary 'Scop' parameter. llvm-svn: 276622
Diffstat (limited to 'polly/lib/CodeGen/PPCGCodeGeneration.cpp')
-rw-r--r--polly/lib/CodeGen/PPCGCodeGeneration.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/polly/lib/CodeGen/PPCGCodeGeneration.cpp b/polly/lib/CodeGen/PPCGCodeGeneration.cpp
index a4609bfacf4..9bc6fdedc91 100644
--- a/polly/lib/CodeGen/PPCGCodeGeneration.cpp
+++ b/polly/lib/CodeGen/PPCGCodeGeneration.cpp
@@ -1326,7 +1326,7 @@ public:
NodeBuilder.addParameters(S->getContext());
Builder.SetInsertPoint(&*StartBlock->begin());
NodeBuilder.create(Root);
- NodeBuilder.finalizeSCoP(*S);
+ NodeBuilder.finalize();
}
bool runOnScop(Scop &CurrentScop) override {
OpenPOWER on IntegriCloud