[llvm] ed66be5 - Fix a spelling mistake in a comment. NFC

Greg Bedwell via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 29 05:36:13 PDT 2019


Author: Greg Bedwell
Date: 2019-10-29T12:32:01Z
New Revision: ed66be5c0cbe9a08313520fe506efa6f2245c3e1

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

LOG: Fix a spelling mistake in a comment. NFC

(I'm currently trying to debug a strange error message I get when
pushing to github, despite the pushes being successful).

Added: 
    

Modified: 
    llvm/lib/Target/X86/X86IndirectBranchTracking.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Target/X86/X86IndirectBranchTracking.cpp b/llvm/lib/Target/X86/X86IndirectBranchTracking.cpp
index cc0f59ab329d..be12e298f423 100644
--- a/llvm/lib/Target/X86/X86IndirectBranchTracking.cpp
+++ b/llvm/lib/Target/X86/X86IndirectBranchTracking.cpp
@@ -53,7 +53,7 @@ class X86IndirectBranchTrackingPass : public MachineFunctionPass {
   /// Endbr opcode for the current machine function.
   unsigned int EndbrOpcode;
 
-  /// Adds a new ENDBR instruction to the begining of the MBB.
+  /// Adds a new ENDBR instruction to the beginning of the MBB.
   /// The function will not add it if already exists.
   /// It will add ENDBR32 or ENDBR64 opcode, depending on the target.
   /// \returns true if the ENDBR was added and false otherwise.


        


More information about the llvm-commits mailing list