[llvm] ca2b854 - Utils: Fix comment typos

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 3 07:13:37 PST 2023


Author: Matt Arsenault
Date: 2023-01-03T10:13:17-05:00
New Revision: ca2b8545c7d7dee672a7e4ff6c4ffa148758faea

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

LOG: Utils: Fix comment typos

Added: 
    

Modified: 
    llvm/include/llvm/Transforms/Utils/Local.h

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/Transforms/Utils/Local.h b/llvm/include/llvm/Transforms/Utils/Local.h
index 4db697c1ffcec..1ad1e7b948c16 100644
--- a/llvm/include/llvm/Transforms/Utils/Local.h
+++ b/llvm/include/llvm/Transforms/Utils/Local.h
@@ -80,7 +80,7 @@ bool wouldInstructionBeTriviallyDead(Instruction *I,
                                      const TargetLibraryInfo *TLI = nullptr);
 
 /// Return true if the result produced by the instruction has no side effects on
-/// any paths other than where it is used. This is less conservative than 
+/// any paths other than where it is used. This is less conservative than
 /// wouldInstructionBeTriviallyDead which is based on the assumption
 /// that the use count will be 0. An example usage of this API is for
 /// identifying instructions that can be sunk down to use(s).
@@ -232,7 +232,7 @@ inline Align getKnownAlignment(Value *V, const DataLayout &DL,
 /// uses replaced by the new call.
 CallInst *createCallMatchingInvoke(InvokeInst *II);
 
-/// This function converts the specified invoek into a normall call.
+/// This function converts the specified invoke into a normal call.
 CallInst *changeToCall(InvokeInst *II, DomTreeUpdater *DTU = nullptr);
 
 ///===---------------------------------------------------------------------===//


        


More information about the llvm-commits mailing list