[llvm] [SelectOpt] Support BinOps with SExt operands. (PR #115879)

via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 9 10:08:19 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 4e59721cc6b4f78e0e69a335e3a218149ef65df2 b7cc95e24cc32f192b13eb5936bec12940ef600d --extensions cpp -- llvm/lib/CodeGen/SelectOptimize.cpp
``````````

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/llvm/lib/CodeGen/SelectOptimize.cpp b/llvm/lib/CodeGen/SelectOptimize.cpp
index 61b90ab3a0..2d1edd7c7c 100644
--- a/llvm/lib/CodeGen/SelectOptimize.cpp
+++ b/llvm/lib/CodeGen/SelectOptimize.cpp
@@ -141,7 +141,6 @@ public:
     SelectLike(Instruction *I, bool Inverted = false, unsigned CondIdx = 0)
         : I(I), Inverted(Inverted), CondIdx(CondIdx) {}
 
-
     Instruction *getI() { return I; }
     const Instruction *getI() const { return I; }
 

``````````

</details>


https://github.com/llvm/llvm-project/pull/115879


More information about the llvm-commits mailing list