[clang] [LoongArch] fix description of clang option -m[no-]lam-bh (PR #113632)
via cfe-commits
cfe-commits at lists.llvm.org
Thu Oct 24 19:05:38 PDT 2024
https://github.com/tangaac created https://github.com/llvm/llvm-project/pull/113632
Fix the description of option `-mlam-bh` and `-mno-lam-bh`
Previous decription causes a `build docs-clang-html` error in #112727
>From 9747d50c099282bd5980d9b087de8527e9f88bed Mon Sep 17 00:00:00 2001
From: tangaac <tangyan01 at loongson.cn>
Date: Fri, 25 Oct 2024 09:55:19 +0800
Subject: [PATCH] fix description of clang option -m[no-]lam-bh
---
clang/include/clang/Driver/Options.td | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
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