[polly] r297578 - Possible error in doc comment

Tobias Grosser via llvm-commits llvm-commits at lists.llvm.org
Sun Mar 12 00:19:02 PST 2017


Author: grosser
Date: Sun Mar 12 03:19:01 2017
New Revision: 297578

URL: http://llvm.org/viewvc/llvm-project?rev=297578&view=rev
Log:
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 at gmail.com>

Differential Revision: https://reviews.llvm.org/D30864

Modified:
    polly/trunk/lib/CodeGen/PPCGCodeGeneration.cpp

Modified: polly/trunk/lib/CodeGen/PPCGCodeGeneration.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/CodeGen/PPCGCodeGeneration.cpp?rev=297578&r1=297577&r2=297578&view=diff
==============================================================================
--- polly/trunk/lib/CodeGen/PPCGCodeGeneration.cpp (original)
+++ polly/trunk/lib/CodeGen/PPCGCodeGeneration.cpp Sun Mar 12 03:19:01 2017
@@ -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());
 




More information about the llvm-commits mailing list