aboutsummaryrefslogtreecommitdiff
path: root/llvm
diff options
context:
space:
mode:
authorrjmansfield <rjmansfield@users.noreply.github.com>2024-08-30 14:15:05 -0400
committerGitHub <noreply@github.com>2024-08-30 19:15:05 +0100
commit07178981246c56e8beafe7fe49f0f442436f08c4 (patch)
tree7eb0970a17a84c2683e453b01e247ba880600b39 /llvm
parent2c7e1b8893061fdf487f2d9945d2d1eecd59a604 (diff)
downloadllvm-07178981246c56e8beafe7fe49f0f442436f08c4.zip
llvm-07178981246c56e8beafe7fe49f0f442436f08c4.tar.gz
llvm-07178981246c56e8beafe7fe49f0f442436f08c4.tar.bz2
Fix cl::desc typos in aarch64-enable-dead-defs and arm-implicit-it. (#106712)
Diffstat (limited to 'llvm')
-rw-r--r--llvm/lib/Target/AArch64/AArch64TargetMachine.cpp2
-rw-r--r--llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/AArch64/AArch64TargetMachine.cpp b/llvm/lib/Target/AArch64/AArch64TargetMachine.cpp
index bd5684a..9f96f6c 100644
--- a/llvm/lib/Target/AArch64/AArch64TargetMachine.cpp
+++ b/llvm/lib/Target/AArch64/AArch64TargetMachine.cpp
@@ -98,7 +98,7 @@ static cl::opt<bool> EnableCollectLOH(
static cl::opt<bool>
EnableDeadRegisterElimination("aarch64-enable-dead-defs", cl::Hidden,
cl::desc("Enable the pass that removes dead"
- " definitons and replaces stores to"
+ " definitions and replaces stores to"
" them with stores to the zero"
" register"),
cl::init(true));
diff --git a/llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp b/llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
index b7dfcc1..10fef90 100644
--- a/llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
+++ b/llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
@@ -79,7 +79,7 @@ enum class ImplicitItModeTy { Always, Never, ARMOnly, ThumbOnly };
static cl::opt<ImplicitItModeTy> ImplicitItMode(
"arm-implicit-it", cl::init(ImplicitItModeTy::ARMOnly),
- cl::desc("Allow conditional instructions outdside of an IT block"),
+ cl::desc("Allow conditional instructions outside of an IT block"),
cl::values(clEnumValN(ImplicitItModeTy::Always, "always",
"Accept in both ISAs, emit implicit ITs in Thumb"),
clEnumValN(ImplicitItModeTy::Never, "never",