[clang] ce858e2 - [LoongArch] fix description of clang option -m[no-]lam-bh (#113632)
via cfe-commits
cfe-commits at lists.llvm.org
Thu Oct 24 20:59:31 PDT 2024
Author: tangaac
Date: 2024-10-25T11:59:27+08:00
New Revision: ce858e2127beb7e8f5780996d5a87994fbad39d4
URL: https://github.com/llvm/llvm-project/commit/ce858e2127beb7e8f5780996d5a87994fbad39d4
DIFF: https://github.com/llvm/llvm-project/commit/ce858e2127beb7e8f5780996d5a87994fbad39d4.diff
LOG: [LoongArch] fix description of clang option -m[no-]lam-bh (#113632)
Fix the description of option `-mlam-bh` and `-mno-lam-bh`
Previous decription causes a `build docs-clang-html` error in #112727
Added:
Modified:
clang/include/clang/Driver/Options.td
Removed:
################################################################################
diff --git a/clang/include/clang/Driver/Options.td b/clang/include/clang/Driver/Options.td
index 62603969eaf8c3..5757c385d22498 100644
--- a/clang/include/clang/Driver/Options.td
+++ b/clang/include/clang/Driver/Options.td
@@ -5400,9 +5400,9 @@ def mfrecipe : Flag<["-"], "mfrecipe">, Group<m_loongarch_Features_Group>,
def mno_frecipe : Flag<["-"], "mno-frecipe">, Group<m_loongarch_Features_Group>,
HelpText<"Disable frecipe.{s/d} and frsqrte.{s/d}">;
def mlam_bh : Flag<["-"], "mlam-bh">, Group<m_loongarch_Features_Group>,
- HelpText<"Enable amswap_[db].{b/h} and amadd_[db].{b/h}">;
+ HelpText<"Enable amswap[_db].{b/h} and amadd[_db].{b/h}">;
def mno_lam_bh : Flag<["-"], "mno-lam-bh">, Group<m_loongarch_Features_Group>,
- HelpText<"Disable amswap_[db].{b/h} and amadd_[db].{b/h}">;
+ HelpText<"Disable amswap[_db].{b/h} and amadd[_db].{b/h}">;
def mannotate_tablejump : Flag<["-"], "mannotate-tablejump">, Group<m_loongarch_Features_Group>,
HelpText<"Enable annotate table jump instruction to correlate it with the jump table.">;
def mno_annotate_tablejump : Flag<["-"], "mno-annotate-tablejump">, Group<m_loongarch_Features_Group>,
More information about the cfe-commits
mailing list