[polly] r308873 - [ScopInfo] Fix typo in method name. NFC.

Michael Kruse via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 24 05:39:41 PDT 2017


Author: meinersbur
Date: Mon Jul 24 05:39:41 2017
New Revision: 308873

URL: http://llvm.org/viewvc/llvm-project?rev=308873&view=rev
Log:
[ScopInfo] Fix typo in method name. NFC.

prependInstrunction -> prependInstruction

Thanks Nandini for noticing.

Modified:
    polly/trunk/include/polly/ScopInfo.h
    polly/trunk/lib/Transform/ForwardOpTree.cpp

Modified: polly/trunk/include/polly/ScopInfo.h
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/include/polly/ScopInfo.h?rev=308873&r1=308872&r2=308873&view=diff
==============================================================================
--- polly/trunk/include/polly/ScopInfo.h (original)
+++ polly/trunk/include/polly/ScopInfo.h Mon Jul 24 05:39:41 2017
@@ -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);
   }

Modified: polly/trunk/lib/Transform/ForwardOpTree.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/Transform/ForwardOpTree.cpp?rev=308873&r1=308872&r2=308873&view=diff
==============================================================================
--- polly/trunk/lib/Transform/ForwardOpTree.cpp (original)
+++ polly/trunk/lib/Transform/ForwardOpTree.cpp Mon Jul 24 05:39:41 2017
@@ -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++;
       }




More information about the llvm-commits mailing list