[llvm] b726c55 - [OpenMP][NFC] Fix some typos

Johannes Doerfert via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 10 22:53:55 PDT 2020


Author: Johannes Doerfert
Date: 2020-07-11T00:51:51-05:00
New Revision: b726c55709a0a5e31a26c8e381544348c5dcd402

URL: https://github.com/llvm/llvm-project/commit/b726c55709a0a5e31a26c8e381544348c5dcd402
DIFF: https://github.com/llvm/llvm-project/commit/b726c55709a0a5e31a26c8e381544348c5dcd402.diff

LOG: [OpenMP][NFC] Fix some typos

Added: 
    

Modified: 
    llvm/lib/Transforms/IPO/OpenMPOpt.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Transforms/IPO/OpenMPOpt.cpp b/llvm/lib/Transforms/IPO/OpenMPOpt.cpp
index 0b2e4f24bd17..d7572bf7dc53 100644
--- a/llvm/lib/Transforms/IPO/OpenMPOpt.cpp
+++ b/llvm/lib/Transforms/IPO/OpenMPOpt.cpp
@@ -210,7 +210,7 @@ struct OMPInformationCache : public InformationCache {
       }
 
       // Remove the to-be-deleted indices in reverse order as prior
-      // modifcations will not modify the smaller indices.
+      // modifications will not modify the smaller indices.
       while (!ToBeDeleted.empty()) {
         unsigned Idx = ToBeDeleted.pop_back_val();
         UV[Idx] = UV.back();
@@ -304,7 +304,7 @@ struct OMPInformationCache : public InformationCache {
     return true;
   }
 
-  // Helper to collect all uses of the decleration in the UsesMap.
+  // Helper to collect all uses of the declaration in the UsesMap.
   unsigned collectUses(RuntimeFunctionInfo &RFI, bool CollectStats = true) {
     unsigned NumUses = 0;
     if (!RFI.Declaration)
@@ -519,7 +519,7 @@ struct OpenMPOpt {
     return Changed;
   }
 
-  /// Try to eliminiate runtime calls by reusing existing ones.
+  /// Try to eliminate runtime calls by reusing existing ones.
   bool deduplicateRuntimeCalls() {
     bool Changed = false;
 
@@ -615,7 +615,7 @@ struct OpenMPOpt {
     return Ident;
   }
 
-  /// Try to eliminiate calls of \p RFI in \p F by reusing an existing one or
+  /// Try to eliminate calls of \p RFI in \p F by reusing an existing one or
   /// \p ReplVal if given.
   bool deduplicateRuntimeCalls(Function &F,
                                OMPInformationCache::RuntimeFunctionInfo &RFI,
@@ -789,7 +789,7 @@ struct OpenMPOpt {
     });
   }
 
-  /// The underyling module.
+  /// The underlying module.
   Module &M;
 
   /// The SCC we are operating on.


        


More information about the llvm-commits mailing list