From 26fd839e744de92c7c01f10e170272f302fbe6d6 Mon Sep 17 00:00:00 2001 From: dufucun Date: Thu, 13 Jun 2024 09:53:20 +0900 Subject: [PATCH] chore: fix some comments (#2379) Signed-off-by: dufucun Co-authored-by: dufucun --- CMakeLists.txt | 2 +- .../tablegen/include/llvm/CodeGen/MachineBasicBlock.h | 4 ++-- suite/synctools/tablegen/include/llvm/IR/AutoUpgrade.h | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index f5ef275162..1b6c397e4e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -54,7 +54,7 @@ else() endif() -# to configure the options specify them in in the command line or change them in the cmake UI. +# to configure the options specify them in the command line or change them in the cmake UI. # Don't edit the makefile! option(BUILD_SHARED_LIBS "Build shared library" OFF) option(CAPSTONE_BUILD_STATIC_RUNTIME "Embed static runtime" ${BUILD_SHARED_LIBS}) diff --git a/suite/synctools/tablegen/include/llvm/CodeGen/MachineBasicBlock.h b/suite/synctools/tablegen/include/llvm/CodeGen/MachineBasicBlock.h index 02a7308d54..28132d16b7 100644 --- a/suite/synctools/tablegen/include/llvm/CodeGen/MachineBasicBlock.h +++ b/suite/synctools/tablegen/include/llvm/CodeGen/MachineBasicBlock.h @@ -787,7 +787,7 @@ class MachineBasicBlock /// \c SkipPseudoOp should be true when it's used in optimizations that /// unlikely hurt profile quality, e.g., without block merging. The default /// value of \c SkipPseudoOp is set to true to maximize code quality in - /// general, with an explicit false value passed in in a few places like branch + /// general, with an explicit false value passed in a few places like branch /// folding and if-conversion to favor profile quality. iterator getFirstNonDebugInstr(bool SkipPseudoOp = true); const_iterator getFirstNonDebugInstr(bool SkipPseudoOp = true) const { @@ -809,7 +809,7 @@ class MachineBasicBlock /// \c SkipPseudoOp should be true when it's used in optimizations that /// unlikely hurt profile quality, e.g., without block merging. The default /// value of \c SkipPseudoOp is set to true to maximize code quality in - /// general, with an explicit false value passed in in a few places like branch + /// general, with an explicit false value passed in a few places like branch /// folding and if-conversion to favor profile quality. iterator getLastNonDebugInstr(bool SkipPseudoOp = true); const_iterator getLastNonDebugInstr(bool SkipPseudoOp = true) const { diff --git a/suite/synctools/tablegen/include/llvm/IR/AutoUpgrade.h b/suite/synctools/tablegen/include/llvm/IR/AutoUpgrade.h index f331fc3c41..1e13e5be65 100644 --- a/suite/synctools/tablegen/include/llvm/IR/AutoUpgrade.h +++ b/suite/synctools/tablegen/include/llvm/IR/AutoUpgrade.h @@ -47,7 +47,7 @@ namespace llvm { /// so that it can update all calls to the old function. void UpgradeCallsToIntrinsic(Function* F); - /// This checks for global variables which should be upgraded. It it requires + /// This checks for global variables which should be upgraded. It is requires /// upgrading, returns a pointer to the upgraded variable. GlobalVariable *UpgradeGlobalVariable(GlobalVariable *GV);