[llvm] [NFC] Fix spelling mistakes in comment replacing word anaylsis with analysis (PR #185233)
via llvm-commits
llvm-commits at lists.llvm.org
Sat Mar 7 13:59:32 PST 2026
https://github.com/AndiB created https://github.com/llvm/llvm-project/pull/185233
llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp had spelling mistake in comment.
This PR fixes the spelling mistake and replaces 'anaylsis' with 'analysis'
>From ce54336eb02759db9f91a81c43c4fcb3710f83ff Mon Sep 17 00:00:00 2001
From: AndiB <sudofortune1 at gmail.com>
Date: Sat, 7 Mar 2026 16:57:20 -0500
Subject: [PATCH] [NFC] Fix spelling mistakes in comment replacing anaylsis
with analysis
---
llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp b/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
index 2f83be4a071eb..fc3e27bdb8676 100644
--- a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
@@ -1481,7 +1481,7 @@ getBBAddrMapFeature(const MachineFunction &MF, int NumMBBSectionRanges,
PgoAnalysisMapFeatures.isSet(PGOMapFeaturesEnum::All)) &&
popcount(PgoAnalysisMapFeatures.getBits()) != 1) {
MF.getFunction().getContext().emitError(
- "-pgo-anaylsis-map can accept only all or none with no additional "
+ "-pgo-analysis-map can accept only all or none with no additional "
"values.");
}
More information about the llvm-commits
mailing list