summaryrefslogtreecommitdiff
path: root/polly/lib/CodeGen/PPCGCodeGeneration.cpp
diff options
context:
space:
mode:
authorTobias Grosser <tobias@grosser.es>2017-07-21 06:00:38 +0000
committerTobias Grosser <tobias@grosser.es>2017-07-21 06:00:38 +0000
commit018103d34eb3548772437a29abbe3140c9774c8a (patch)
treef432bdc39e2c3eac006ebd69e6daa97d058d6006 /polly/lib/CodeGen/PPCGCodeGeneration.cpp
parent4538a5abb0a059b83183246efafc41423acc528c (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.cpp6
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;
}
}