diff options
author | Wang Qiang <736242642@qq.com> | 2024-11-01 21:25:04 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-01 13:25:04 +0000 |
commit | b77e40265caf1fc459b1c57ac495bbd48e1f7942 (patch) | |
tree | fe9dc664d4cfb4db0103342823ce67ccbdf18315 /llvm/lib/CodeGen/SafeStack.cpp | |
parent | 8951b51402d17af1f97e5804f60c946e624650d6 (diff) | |
download | llvm-b77e40265caf1fc459b1c57ac495bbd48e1f7942.zip llvm-b77e40265caf1fc459b1c57ac495bbd48e1f7942.tar.gz llvm-b77e40265caf1fc459b1c57ac495bbd48e1f7942.tar.bz2 |
[llvm][NFC] Fix typos: replace “avaliable” with “available” across various files (#114524)
This pull request corrects multiple occurrences of the typo "avaliable"
to "available" across the LLVM and Clang codebase. These changes improve
the clarity and accuracy of comments and documentation. Specific
modifications are in the following files:
1. clang-tools-extra/clang-tidy/readability/FunctionCognitiveComplexityCheck.cpp:
Updated comments in readability checks for cognitive complexity.
2. llvm/include/llvm/ExecutionEngine/Orc/ExecutionUtils.h: Corrected
documentation for JITDylib responsibilities.
3. llvm/include/llvm/Target/TargetMacroFusion.td: Fixed descriptions for
FusionPredicate variables.
4. llvm/lib/CodeGen/SafeStack.cpp: Improved comments on DominatorTree
availability.
5. llvm/lib/Target/RISCV/RISCVSchedSiFive7.td: Enhanced resource usage
descriptions for vector units.
6. llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp: Updated invariant
description in shift-detect idiom logic.
7. llvm/test/MC/ARM/mve-fp-registers.s: Amended ARM MVE register
availability notes.
8. mlir/lib/Bytecode/Reader/BytecodeReader.cpp: Adjusted forward
reference descriptions for bytecode reader operations.
These changes have no impact on code functionality, focusing solely on
documentation clarity.
Co-authored-by: wangqiang <wangqiang1@kylinos.cn>
Diffstat (limited to 'llvm/lib/CodeGen/SafeStack.cpp')
-rw-r--r-- | llvm/lib/CodeGen/SafeStack.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SafeStack.cpp b/llvm/lib/CodeGen/SafeStack.cpp index ad2037a..f0667f7 100644 --- a/llvm/lib/CodeGen/SafeStack.cpp +++ b/llvm/lib/CodeGen/SafeStack.cpp @@ -898,7 +898,7 @@ public: bool ShouldPreserveDominatorTree; std::optional<DominatorTree> LazilyComputedDomTree; - // Do we already have a DominatorTree avaliable from the previous pass? + // Do we already have a DominatorTree available from the previous pass? // Note that we should *NOT* require it, to avoid the case where we end up // not needing it, but the legacy PM would have computed it for us anyways. if (auto *DTWP = getAnalysisIfAvailable<DominatorTreeWrapperPass>()) { |