[compiler-rt] [llvm] [polly] [NFC] Fix spelling mistakes in comments 'compatiable' to 'compatible' (PR #185213)
via llvm-commits
llvm-commits at lists.llvm.org
Sat Mar 7 10:09:30 PST 2026
https://github.com/AndiB created https://github.com/llvm/llvm-project/pull/185213
This PR fixes a spelling mistake in comments only, changing 'compatiable' to 'compatible', in the following files
compiler-rt/lib/sanitizer_common/sanitizer_asm.h
llvm/lib/CodeGen/GlobalMergeFunctions.cpp
polly/lib/External/isl/imath/gmp_compat.c
polly/lib/External/isl/imath/gmp_compat.h
All changes are in comments only, no functional changes.
>From d9770f7d08be4d3dc17284847387a00a4913c9e2 Mon Sep 17 00:00:00 2001
From: AndiB <sudofortune1 at gmail.com>
Date: Sat, 7 Mar 2026 12:51:28 -0500
Subject: [PATCH] [NFC] Fix spelling mistakes in comments 'compatiable' to
'compatible'
---
compiler-rt/lib/sanitizer_common/sanitizer_asm.h | 2 +-
llvm/lib/CodeGen/GlobalMergeFunctions.cpp | 2 +-
polly/lib/External/isl/imath/gmp_compat.c | 2 +-
polly/lib/External/isl/imath/gmp_compat.h | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_asm.h b/compiler-rt/lib/sanitizer_common/sanitizer_asm.h
index 30e9d15184e5d..b584b38e05adc 100644
--- a/compiler-rt/lib/sanitizer_common/sanitizer_asm.h
+++ b/compiler-rt/lib/sanitizer_common/sanitizer_asm.h
@@ -65,7 +65,7 @@
// Currently, almost all of the shared libraries rely on the value of
// $t9 to get the address of current function, instead of PCREL, even
-// on MIPSr6. To be compatiable with them, we have to set $t9 properly.
+// on MIPSr6. To be compatible with them, we have to set $t9 properly.
// MIPS uses GOT to get the address of preemptible functions.
#if defined(__mips64)
# define C_ASM_TAIL_CALL(t_func, i_func) \
diff --git a/llvm/lib/CodeGen/GlobalMergeFunctions.cpp b/llvm/lib/CodeGen/GlobalMergeFunctions.cpp
index dee20d601359f..38324e7e82ddb 100644
--- a/llvm/lib/CodeGen/GlobalMergeFunctions.cpp
+++ b/llvm/lib/CodeGen/GlobalMergeFunctions.cpp
@@ -446,7 +446,7 @@ bool GlobalMergeFunc::merge(Module &M, const StableFunctionMap *FunctionMap) {
for (auto &SF : SFS) {
assert(SF->InstCount == FI.IndexInstruction->size());
assert(hasValidSharedConst(SF.get(), FI));
- // Check if there is any stable function that is compatiable with the
+ // Check if there is any stable function that is compatible with the
// current one.
if (!checkConstHashCompatible(*SF->IndexOperandHashMap,
*FI.IndexOperandHashMap))
diff --git a/polly/lib/External/isl/imath/gmp_compat.c b/polly/lib/External/isl/imath/gmp_compat.c
index 620c4ca9a97df..a8a3911296d06 100644
--- a/polly/lib/External/isl/imath/gmp_compat.c
+++ b/polly/lib/External/isl/imath/gmp_compat.c
@@ -1,6 +1,6 @@
/*
Name: gmp_compat.c
- Purpose: Provide GMP compatiable routines for imath library
+ Purpose: Provide GMP compatible routines for imath library
Author: David Peixotto
Copyright (c) 2012 Qualcomm Innovation Center, Inc. All rights reserved.
diff --git a/polly/lib/External/isl/imath/gmp_compat.h b/polly/lib/External/isl/imath/gmp_compat.h
index 949e377e97923..9701b4c6e00ef 100644
--- a/polly/lib/External/isl/imath/gmp_compat.h
+++ b/polly/lib/External/isl/imath/gmp_compat.h
@@ -1,6 +1,6 @@
/*
Name: gmp_compat.h
- Purpose: Provide GMP compatiable routines for imath library
+ Purpose: Provide GMP compatible routines for imath library
Author: David Peixotto
Copyright (c) 2012 Qualcomm Innovation Center, Inc. All rights reserved.
More information about the llvm-commits
mailing list