summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kruse <llvm@meinersbur.de>2017-07-24 12:39:41 +0000
committerMichael Kruse <llvm@meinersbur.de>2017-07-24 12:39:41 +0000
commit25a688165bb02e56c22138266319d6d1cf5bb7c7 (patch)
tree85c6cf2a12bc39cda90dd139270168775c4304b2
parentf66efd61810352bf069fbd6a3c508793f979b0c8 (diff)
downloadbcm5719-llvm-25a688165bb02e56c22138266319d6d1cf5bb7c7.tar.gz
bcm5719-llvm-25a688165bb02e56c22138266319d6d1cf5bb7c7.zip
[ScopInfo] Fix typo in method name. NFC.
prependInstrunction -> prependInstruction Thanks Nandini for noticing. llvm-svn: 308873
-rw-r--r--polly/include/polly/ScopInfo.h2
-rw-r--r--polly/lib/Transform/ForwardOpTree.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/polly/include/polly/ScopInfo.h b/polly/include/polly/ScopInfo.h
index 21110bf10b2..e504444a4c5 100644
--- a/polly/include/polly/ScopInfo.h
+++ b/polly/include/polly/ScopInfo.h
@@ -1590,7 +1590,7 @@ public:
}
/// Insert an instruction before all other instructions in this statement.
- void prependInstrunction(Instruction *Inst) {
+ void prependInstruction(Instruction *Inst) {
assert(isBlockStmt() && "Only block statements support instruction lists");
Instructions.insert(Instructions.begin(), Inst);
}
diff --git a/polly/lib/Transform/ForwardOpTree.cpp b/polly/lib/Transform/ForwardOpTree.cpp
index 3ba97a6d8a5..a99b513ab48 100644
--- a/polly/lib/Transform/ForwardOpTree.cpp
+++ b/polly/lib/Transform/ForwardOpTree.cpp
@@ -169,7 +169,7 @@ private:
// instruction using them.
// TODO: The operand tree is not really a tree, but a DAG. We should be
// able to handle DAGs without duplication.
- TargetStmt->prependInstrunction(Inst);
+ TargetStmt->prependInstruction(Inst);
NumInstructionsCopied++;
TotalInstructionsCopied++;
}
OpenPOWER on IntegriCloud