[llvm] [ORC] Add signext on @sum() arguments in test. (PR #113308)

via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 22 05:45:27 PDT 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 ba5676cf91f91bbddfacae06c036cf79af0f2088 03be6d7f9a71402347e1152ec7bbfc7a140f3c1c --extensions cpp -- llvm/unittests/ExecutionEngine/Orc/OrcCAPITest.cpp
``````````

</details>

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

``````````diff
diff --git a/llvm/unittests/ExecutionEngine/Orc/OrcCAPITest.cpp b/llvm/unittests/ExecutionEngine/Orc/OrcCAPITest.cpp
index c50e36a8c2..e4e944be26 100644
--- a/llvm/unittests/ExecutionEngine/Orc/OrcCAPITest.cpp
+++ b/llvm/unittests/ExecutionEngine/Orc/OrcCAPITest.cpp
@@ -101,7 +101,8 @@ public:
 
       std::ostringstream OS;
       OS << "define " << I32RetExt << " i32 "
-         << R"(@sum()" << "i32 " << I32ArgExt << "%x, i32 " << I32ArgExt << "%y)"
+         << R"(@sum()" << "i32 " << I32ArgExt << "%x, i32 " << I32ArgExt
+         << "%y)"
          << R"( {
           entry:
           %r = add nsw i32 %x, %y
@@ -231,7 +232,6 @@ protected:
 
   static std::string SumExample;
   static std::string SumDebugExample;
-
 };
 
 std::string OrcCAPITestBase::TargetTriple;

``````````

</details>


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


More information about the llvm-commits mailing list