[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:59 PST 2026
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-compiler-rt-sanitizer
Author: None (AndiB)
<details>
<summary>Changes</summary>
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.
---
Full diff: https://github.com/llvm/llvm-project/pull/185213.diff
4 Files Affected:
- (modified) compiler-rt/lib/sanitizer_common/sanitizer_asm.h (+1-1)
- (modified) llvm/lib/CodeGen/GlobalMergeFunctions.cpp (+1-1)
- (modified) polly/lib/External/isl/imath/gmp_compat.c (+1-1)
- (modified) polly/lib/External/isl/imath/gmp_compat.h (+1-1)
``````````diff
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.
``````````
</details>
https://github.com/llvm/llvm-project/pull/185213
More information about the llvm-commits
mailing list