[llvm] [SelectionDAG] Consistently use doxygen comments in the NodeType enum. NFC (PR #172178)
via llvm-commits
llvm-commits at lists.llvm.org
Sat Dec 13 13:37:06 PST 2025
github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {clang-format}-->
:warning: C/C++ code formatter, clang-format found issues in your code. :warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
git-clang-format --diff origin/main HEAD --extensions h -- llvm/include/llvm/CodeGen/ISDOpcodes.h --diff_from_common_commit
``````````
:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/include/llvm/CodeGen/ISDOpcodes.h b/llvm/include/llvm/CodeGen/ISDOpcodes.h
index 447110427..9ac0e7699 100644
--- a/llvm/include/llvm/CodeGen/ISDOpcodes.h
+++ b/llvm/include/llvm/CodeGen/ISDOpcodes.h
@@ -1504,14 +1504,17 @@ enum NodeType {
/// Accumulator before multiplying their results.
/// This result is concatenated to the Accumulator, and this is then reduced,
/// using addition, to the result type.
- /// The output is only expected to either be given to another partial reduction
+ /// The output is only expected to either be given to another partial
+ /// reduction
/// operation or an equivalent vector reduce operation, so the order in which
/// the elements are reduced is deliberately not specified.
- /// Input1 and Input2 must be the same type. Accumulator and the output must be
+ /// Input1 and Input2 must be the same type. Accumulator and the output must
+ /// be
/// the same type.
/// The number of elements in Input1 and Input2 must be a positive integer
/// multiple of the number of elements in the Accumulator / output type.
- /// Input1 and Input2 must have an element type which is the same as or smaller
+ /// Input1 and Input2 must have an element type which is the same as or
+ /// smaller
/// than the element type of the Accumulator and output.
PARTIAL_REDUCE_SMLA, // sext, sext
PARTIAL_REDUCE_UMLA, // zext, zext
@@ -1573,7 +1576,8 @@ enum NodeType {
/// Output: Mask
///
/// Note: The semantics of these opcodes differ slightly from the intrinsics.
- /// Wherever "lane" (meaning lane index) occurs in the intrinsic definition, it
+ /// Wherever "lane" (meaning lane index) occurs in the intrinsic definition,
+ /// it
/// is replaced with (lane + lane_offset) for the ISD opcode.
///
/// E.g., for LOOP_DEPENDENCE_WAR_MASK:
``````````
</details>
https://github.com/llvm/llvm-project/pull/172178
More information about the llvm-commits
mailing list