summaryrefslogtreecommitdiff
path: root/polly/lib/CodeGen/PPCGCodeGeneration.cpp
diff options
context:
space:
mode:
authorTobias Grosser <tobias@grosser.es>2017-03-12 08:19:01 +0000
committerTobias Grosser <tobias@grosser.es>2017-03-12 08:19:01 +0000
commitde244eb45038165431f67e61541fc5319581a7fa (patch)
tree725b94ed32f7c837945f290b24df5d2ba7031b96 /polly/lib/CodeGen/PPCGCodeGeneration.cpp
parentb2347dc241b3423c89f26e7eb2b0fdcbc48d86d4 (diff)
Possible error in doc comment
If a SCoP is most probably sequential, then it's better to run it on a CPU. Hence, there's no point in running it on a GPU. Reviewers: grosser Subscribers: nemanjai Tags: #polly Contributed-by: Singapuram Sanjay <singapuram.sanjay@gmail.com> Differential Revision: https://reviews.llvm.org/D30864 llvm-svn: 297578
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 9612d0fa9ec2..6d28a8d0568c 100644
--- a/polly/lib/CodeGen/PPCGCodeGeneration.cpp
+++ b/polly/lib/CodeGen/PPCGCodeGeneration.cpp
@@ -2430,7 +2430,7 @@ public:
/// In case a sequential kernel has more surrounding loops as any parallel
/// kernel, the SCoP is probably mostly sequential. Hence, there is no
- /// point in running it on a CPU.
+ /// point in running it on a GPU.
if (NodeBuilder.DeepestSequential > NodeBuilder.DeepestParallel)
SplitBlock->getTerminator()->setOperand(0, Builder.getFalse());