aboutsummaryrefslogtreecommitdiff
path: root/llvm/utils/UpdateTestChecks/asm.py
diff options
context:
space:
mode:
authorJinsong Ji <jji@us.ibm.com>2020-04-10 15:03:16 +0000
committerJinsong Ji <jji@us.ibm.com>2020-04-10 15:04:10 +0000
commit6d7c25bbf9c13303b6e84cb07d815de70c33404c (patch)
treed70c80ab7a1d8244f84eb983e7773b80ac102ac3 /llvm/utils/UpdateTestChecks/asm.py
parent3bc439bdff8bb5518098bd9ef52c56ac071276bc (diff)
downloadllvm-6d7c25bbf9c13303b6e84cb07d815de70c33404c.zip
llvm-6d7c25bbf9c13303b6e84cb07d815de70c33404c.tar.gz
llvm-6d7c25bbf9c13303b6e84cb07d815de70c33404c.tar.bz2
[NFC][UpdateTestChecks] Fix typos in comments
Diffstat (limited to 'llvm/utils/UpdateTestChecks/asm.py')
-rw-r--r--llvm/utils/UpdateTestChecks/asm.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/utils/UpdateTestChecks/asm.py b/llvm/utils/UpdateTestChecks/asm.py
index 5747e45..998d8b1 100644
--- a/llvm/utils/UpdateTestChecks/asm.py
+++ b/llvm/utils/UpdateTestChecks/asm.py
@@ -229,11 +229,11 @@ def scrub_asm_powerpc(asm, args):
asm = common.SCRUB_WHITESPACE_RE.sub(r' ', asm)
# Expand the tabs used for indentation.
asm = string.expandtabs(asm, 2)
- # Stripe unimportant comments, but leave the token '#' in place.
+ # Strip unimportant comments, but leave the token '#' in place.
asm = common.SCRUB_LOOP_COMMENT_RE.sub(r'#', asm)
# Strip trailing whitespace.
asm = common.SCRUB_TRAILING_WHITESPACE_RE.sub(r'', asm)
- # Stripe the tailing token '#', except the line only has token '#'.
+ # Strip the tailing token '#', except the line only has token '#'.
asm = common.SCRUB_TAILING_COMMENT_TOKEN_RE.sub(r'', asm)
return asm