[llvm] [GISel] Lower scalar G_SELECT in LegalizerHelper (PR #79342)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 24 10:35:58 PST 2024
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 382f70a877f00ab71f3cb5ba461b52e1b59cd292 7a4a1525d532eac2ef4b73f88a3241718fb5697c -- llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp llvm/unittests/CodeGen/GlobalISel/LegalizerHelperTest.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/unittests/CodeGen/GlobalISel/LegalizerHelperTest.cpp b/llvm/unittests/CodeGen/GlobalISel/LegalizerHelperTest.cpp
index b7e8e9ae57..886780d92e 100644
--- a/llvm/unittests/CodeGen/GlobalISel/LegalizerHelperTest.cpp
+++ b/llvm/unittests/CodeGen/GlobalISel/LegalizerHelperTest.cpp
@@ -3438,8 +3438,7 @@ TEST_F(AArch64GISelMITest, LowerSelect) {
GTEST_SKIP();
// Declare your legalization info
- DefineLegalizerInfo(A, {
- getActionDefinitionsBuilder(G_SELECT).lower(); });
+ DefineLegalizerInfo(A, { getActionDefinitionsBuilder(G_SELECT).lower(); });
LLT S1 = LLT::scalar(1);
LLT S32 = LLT::scalar(32);
``````````
</details>
https://github.com/llvm/llvm-project/pull/79342
More information about the llvm-commits
mailing list