Skip to content

Conversation

@topperc
Copy link
Collaborator

@topperc topperc commented Jun 13, 2025

The DocBrief is used to generate the webpage description of the option. The current text only talks about the possible values, but not what the option does.

… the DocBrief.

The DocBrief is used to generate the webpage description of the
optio. The current text only talks about the possible values, but
not what the option does.
@topperc topperc requested review from lukel97, preames and wangpc-pp June 13, 2025 17:38
@llvmbot llvmbot added clang Clang issues not falling into any other category and removed backend:RISC-V labels Jun 13, 2025
@llvmbot
Copy link
Member

llvmbot commented Jun 13, 2025

@llvm/pr-subscribers-clang

Author: Craig Topper (topperc)

Changes

The DocBrief is used to generate the webpage description of the option. The current text only talks about the possible values, but not what the option does.


Full diff: https://github.com/llvm/llvm-project/pull/144128.diff

1 Files Affected:

  • (modified) clang/include/clang/Driver/Options.td (+4-3)
diff --git a/clang/include/clang/Driver/Options.td b/clang/include/clang/Driver/Options.td
index 152df89118a6a..5097630098911 100644
--- a/clang/include/clang/Driver/Options.td
+++ b/clang/include/clang/Driver/Options.td
@@ -5056,9 +5056,10 @@ def mrvv_vector_bits_EQ : Joined<["-"], "mrvv-vector-bits=">, Group<m_Group>,
   Visibility<[ClangOption, FlangOption]>,
   HelpText<"Specify the size in bits of an RVV vector register">,
   DocBrief<!strconcat(
-    "Defaults to the vector length agnostic value of \"scalable\". "
-    "Accepts power of 2 values between 64 and 65536. Also accepts "
-    "\"zvl\" to use the value implied by -march/-mcpu.",
+    "Specify the size in bits of an RVV vector register. Defaults to the "
+    "vector length agnostic value of \"scalable\". Accepts power of 2 values "
+    "between 64 and 65536. Also accepts \"zvl\" to use the value implied by "
+    "-march/-mcpu.",
     !cond(
       // Flang does not set the preprocessor define.
       !eq(GlobalDocumentation.Program, "Flang") : "",

@llvmbot
Copy link
Member

llvmbot commented Jun 13, 2025

@llvm/pr-subscribers-backend-risc-v

Author: Craig Topper (topperc)

Changes

The DocBrief is used to generate the webpage description of the option. The current text only talks about the possible values, but not what the option does.


Full diff: https://github.com/llvm/llvm-project/pull/144128.diff

1 Files Affected:

  • (modified) clang/include/clang/Driver/Options.td (+4-3)
diff --git a/clang/include/clang/Driver/Options.td b/clang/include/clang/Driver/Options.td
index 152df89118a6a..5097630098911 100644
--- a/clang/include/clang/Driver/Options.td
+++ b/clang/include/clang/Driver/Options.td
@@ -5056,9 +5056,10 @@ def mrvv_vector_bits_EQ : Joined<["-"], "mrvv-vector-bits=">, Group<m_Group>,
   Visibility<[ClangOption, FlangOption]>,
   HelpText<"Specify the size in bits of an RVV vector register">,
   DocBrief<!strconcat(
-    "Defaults to the vector length agnostic value of \"scalable\". "
-    "Accepts power of 2 values between 64 and 65536. Also accepts "
-    "\"zvl\" to use the value implied by -march/-mcpu.",
+    "Specify the size in bits of an RVV vector register. Defaults to the "
+    "vector length agnostic value of \"scalable\". Accepts power of 2 values "
+    "between 64 and 65536. Also accepts \"zvl\" to use the value implied by "
+    "-march/-mcpu.",
     !cond(
       // Flang does not set the preprocessor define.
       !eq(GlobalDocumentation.Program, "Flang") : "",

Copy link
Member

@mshockwave mshockwave left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@topperc topperc merged commit f952af3 into llvm:main Jun 13, 2025
10 checks passed
@topperc topperc deleted the pr/rvv-vector-bits-help branch June 13, 2025 19:25
tomtor pushed a commit to tomtor/llvm-project that referenced this pull request Jun 14, 2025
…the DocBrief. (llvm#144128)

The DocBrief is used to generate the webpage description of the option.
The current text only talks about the possible values, but not what the
option does.
akuhlens pushed a commit to akuhlens/llvm-project that referenced this pull request Jun 24, 2025
…the DocBrief. (llvm#144128)

The DocBrief is used to generate the webpage description of the option.
The current text only talks about the possible values, but not what the
option does.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

clang Clang issues not falling into any other category

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants