summaryrefslogtreecommitdiffstats
path: root/polly/lib/CodeGen/PPCGCodeGeneration.cpp
diff options
context:
space:
mode:
authorTobias Grosser <tobias@grosser.es>2016-09-13 08:42:10 +0000
committerTobias Grosser <tobias@grosser.es>2016-09-13 08:42:10 +0000
commita82c4b5df847c6153bfc09c08a39cc0c919175ef (patch)
tree18594cb48b57b0da691b5bc5407c2f1a3fdacf9a /polly/lib/CodeGen/PPCGCodeGeneration.cpp
parent05453991fecf42341312212d2c5c3f34f7f3f039 (diff)
downloadbcm5719-llvm-a82c4b5df847c6153bfc09c08a39cc0c919175ef.tar.gz
bcm5719-llvm-a82c4b5df847c6153bfc09c08a39cc0c919175ef.zip
GPGPU: Allow region statements
llvm-svn: 281305
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 1ade6c27540..0d6f1b60b0c 100644
--- a/polly/lib/CodeGen/PPCGCodeGeneration.cpp
+++ b/polly/lib/CodeGen/PPCGCodeGeneration.cpp
@@ -834,7 +834,7 @@ void GPUNodeBuilder::createScopStmt(isl_ast_expr *Expr,
if (Stmt->isBlockStmt())
BlockGen.copyStmt(*Stmt, LTS, Indexes);
else
- assert(0 && "Region statement not supported\n");
+ RegionGen.copyStmt(*Stmt, LTS, Indexes);
}
void GPUNodeBuilder::createKernelSync() {
OpenPOWER on IntegriCloud