[polly] r308715 - Fix typo in function name Bllock -> Block

Tobias Grosser via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 20 23:00:38 PDT 2017


Author: grosser
Date: Thu Jul 20 23:00:38 2017
New Revision: 308715

URL: http://llvm.org/viewvc/llvm-project?rev=308715&view=rev
Log:
Fix typo in function name Bllock -> Block

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=308715&r1=308714&r2=308715&view=diff
==============================================================================
--- polly/trunk/lib/CodeGen/PPCGCodeGeneration.cpp (original)
+++ polly/trunk/lib/CodeGen/PPCGCodeGeneration.cpp Thu Jul 20 23:00:38 2017
@@ -2943,7 +2943,7 @@ public:
   ///
   /// If this basic block does something with a `Function` other than calling
   /// a function that we support in a kernel, return true.
-  bool containsInvalidKernelFunctionInBllock(const BasicBlock *BB) {
+  bool containsInvalidKernelFunctionInBlock(const BasicBlock *BB) {
     for (const Instruction &Inst : *BB) {
       const CallInst *Call = dyn_cast<CallInst>(&Inst);
       if (Call && isValidFunctionInKernel(Call->getCalledFunction())) {
@@ -2965,13 +2965,13 @@ public:
   bool containsInvalidKernelFunction(const Scop &S) {
     for (auto &Stmt : S) {
       if (Stmt.isBlockStmt()) {
-        if (containsInvalidKernelFunctionInBllock(Stmt.getBasicBlock()))
+        if (containsInvalidKernelFunctionInBlock(Stmt.getBasicBlock()))
           return true;
       } else {
         assert(Stmt.isRegionStmt() &&
                "Stmt was neither block nor region statement");
         for (const BasicBlock *BB : Stmt.getRegion()->blocks())
-          if (containsInvalidKernelFunctionInBllock(BB))
+          if (containsInvalidKernelFunctionInBlock(BB))
             return true;
       }
     }




More information about the llvm-commits mailing list