[llvm] [ADT] Fix a comment typo (PR #65497)

via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 6 09:34:09 PDT 2023


https://github.com/kazutakahirata created https://github.com/llvm/llvm-project/pull/65497:

None

>From b72f69f1059065c5592c12e9215b7492496c94cd Mon Sep 17 00:00:00 2001
From: Kazu Hirata <kazu at google.com>
Date: Wed, 6 Sep 2023 09:31:54 -0700
Subject: [PATCH] [ADT] Fix a comment typo

---
 llvm/include/llvm/ADT/FloatingPointMode.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/llvm/include/llvm/ADT/FloatingPointMode.h b/llvm/include/llvm/ADT/FloatingPointMode.h
index 6aeabd17b7dde43..d80a811fd447a78 100644
--- a/llvm/include/llvm/ADT/FloatingPointMode.h
+++ b/llvm/include/llvm/ADT/FloatingPointMode.h
@@ -222,7 +222,7 @@ inline DenormalMode parseDenormalFPAttribute(StringRef Str) {
   DenormalMode Mode;
   Mode.Output = parseDenormalFPAttributeComponent(OutputStr);
 
-  // Maintain compatability with old form of the attribute which only specified
+  // Maintain compatibility with old form of the attribute which only specified
   // one component.
   Mode.Input = InputStr.empty() ? Mode.Output  :
                parseDenormalFPAttributeComponent(InputStr);



More information about the llvm-commits mailing list