[llvm] a24d463 - [NFC] Corrected a minor typo in a comment

via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 21 04:57:05 PST 2020


Author: Swiftfuchs
Date: 2020-02-21T13:56:44+01:00
New Revision: a24d46318f669b3882f6c87f58633098e2a157bf

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

LOG: [NFC] Corrected a minor typo in a comment

Added: 
    

Modified: 
    llvm/lib/Support/YAMLTraits.cpp
    llvm/lib/Target/ARM/README-Thumb.txt

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Support/YAMLTraits.cpp b/llvm/lib/Support/YAMLTraits.cpp
index 5f0cedc71829..f27be3e97430 100644
--- a/llvm/lib/Support/YAMLTraits.cpp
+++ b/llvm/lib/Support/YAMLTraits.cpp
@@ -738,7 +738,7 @@ bool Output::canElideEmptySequence() {
   // the whole key/value can be not written.  But, that produces wrong yaml
   // if the key/value is the only thing in the map and the map is used in
   // a sequence.  This detects if the this sequence is the first key/value
-  // in map that itself is embedded in a sequnce.
+  // in map that itself is embedded in a sequence.
   if (StateStack.size() < 2)
     return true;
   if (StateStack.back() != inMapFirstKey)

diff  --git a/llvm/lib/Target/ARM/README-Thumb.txt b/llvm/lib/Target/ARM/README-Thumb.txt
index e4e77319ad94..d9cc086da828 100644
--- a/llvm/lib/Target/ARM/README-Thumb.txt
+++ b/llvm/lib/Target/ARM/README-Thumb.txt
@@ -185,7 +185,7 @@ ldr r2, [r2]
 
 These instructions preserve the condition code which is important if the spill
 is between a cmp and a bcc instruction. However, we can use the (potentially)
-cheaper sequnce if we know it's ok to clobber the condition register.
+cheaper sequence if we know it's ok to clobber the condition register.
 
 add r2, sp, #255 * 4
 add r2, #132


        


More information about the llvm-commits mailing list