[llvm] [SelectionDAG] Recurse through mask expression trees in WidenVSELECTMask (PR #188085)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 1 09:04:20 PDT 2026
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,cpp -- llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.h llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp --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/lib/CodeGen/SelectionDAG/LegalizeTypes.h b/llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.h
index 53425d257..65a843ba9 100644
--- a/llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.h
+++ b/llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.h
@@ -1165,8 +1165,8 @@ private:
/// Recursively convert a mask expression tree to ToVT, walking through
/// mask-preserving operations down to SETCC leaves. Avoids redundant
- /// extend/truncate chains that arise when each node is converted independently.
- /// Returns SDValue() if the tree cannot be converted.
+ /// extend/truncate chains that arise when each node is converted
+ /// independently. Returns SDValue() if the tree cannot be converted.
SDValue convertMaskTree(SDValue V, EVT ToVT, unsigned Depth = 0);
//===--------------------------------------------------------------------===//
``````````
</details>
https://github.com/llvm/llvm-project/pull/188085
More information about the llvm-commits
mailing list