Skip to content

Commit

Permalink
chore: fix some comments (#2379)
Browse files Browse the repository at this point in the history
Signed-off-by: dufucun <[email protected]>
Co-authored-by: dufucun <[email protected]>
  • Loading branch information
dufucun and dufucun authored Jun 13, 2024
1 parent 0a67596 commit 26fd839
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion suite/synctools/tablegen/include/llvm/IR/AutoUpgrade.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 26fd839

Please sign in to comment.