diff options
| author | Tobias Grosser <tobias@grosser.es> | 2017-07-21 06:00:38 +0000 |
|---|---|---|
| committer | Tobias Grosser <tobias@grosser.es> | 2017-07-21 06:00:38 +0000 |
| commit | 018103d34eb3548772437a29abbe3140c9774c8a (patch) | |
| tree | f432bdc39e2c3eac006ebd69e6daa97d058d6006 /polly/lib/CodeGen/PPCGCodeGeneration.cpp | |
| parent | 4538a5abb0a059b83183246efafc41423acc528c (diff) | |
Fix typo in function name Bllock -> Block
llvm-svn: 308715
Diffstat (limited to 'polly/lib/CodeGen/PPCGCodeGeneration.cpp')
| -rw-r--r-- | polly/lib/CodeGen/PPCGCodeGeneration.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/polly/lib/CodeGen/PPCGCodeGeneration.cpp b/polly/lib/CodeGen/PPCGCodeGeneration.cpp index 477e24ffadbf..b22948320ad8 100644 --- a/polly/lib/CodeGen/PPCGCodeGeneration.cpp +++ b/polly/lib/CodeGen/PPCGCodeGeneration.cpp @@ -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; } } |
