diff options
author | Tobias Grosser <tobias@grosser.es> | 2017-07-16 13:54:41 +0000 |
---|---|---|
committer | Tobias Grosser <tobias@grosser.es> | 2017-07-16 13:54:41 +0000 |
commit | 8e1280b8b21625bc679ca6fd7e427955e1989a90 (patch) | |
tree | fdfc0fe3014e477d71bb77658086b9ebfef56089 /polly | |
parent | 7194513268881393271b30781d941aa3d3e62a4e (diff) | |
download | llvm-8e1280b8b21625bc679ca6fd7e427955e1989a90.zip llvm-8e1280b8b21625bc679ca6fd7e427955e1989a90.tar.gz llvm-8e1280b8b21625bc679ca6fd7e427955e1989a90.tar.bz2 |
[Polly] Fix a typo [NFC]
Reviewers: grosser, Meinersbur, bollu
Tags: #polly
Contributed-by: Nandini Singhal <cs15mtech01004@iith.ac.in>
Differential Revision: https://reviews.llvm.org/D35459
llvm-svn: 308134
Diffstat (limited to 'polly')
-rw-r--r-- | polly/lib/Transform/Simplify.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/polly/lib/Transform/Simplify.cpp b/polly/lib/Transform/Simplify.cpp index c379f4d..8fbd353 100644 --- a/polly/lib/Transform/Simplify.cpp +++ b/polly/lib/Transform/Simplify.cpp @@ -304,7 +304,7 @@ private: } /// Remove statements without side effects. - void removeUnnecessayStmts() { + void removeUnnecessaryStmts() { auto NumStmtsBefore = S->getSize(); S->simplifySCoP(true); assert(NumStmtsBefore >= S->getSize()); @@ -360,7 +360,7 @@ public: removeRedundantWrites(); DEBUG(dbgs() << "Removing statements without side effects...\n"); - removeUnnecessayStmts(); + removeUnnecessaryStmts(); if (isModified()) ScopsModified++; |