[llvm-branch-commits] [llvm] Hexagon: Stop excluding some generic compiler-rt functions from libcalls (PR #210963)

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Tue Jul 21 05:30:27 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/Target/Hexagon/HexagonSubtarget.cpp llvm/lib/Target/Hexagon/HexagonSubtarget.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/lib/Target/Hexagon/HexagonSubtarget.cpp b/llvm/lib/Target/Hexagon/HexagonSubtarget.cpp
index 36f1a271a..91e528f77 100644
--- a/llvm/lib/Target/Hexagon/HexagonSubtarget.cpp
+++ b/llvm/lib/Target/Hexagon/HexagonSubtarget.cpp
@@ -17,10 +17,10 @@
 #include "llvm/ADT/STLExtras.h"
 #include "llvm/ADT/SmallVector.h"
 #include "llvm/ADT/StringRef.h"
+#include "llvm/CodeGen/LibcallLoweringInfo.h"
 #include "llvm/CodeGen/MachineInstr.h"
 #include "llvm/CodeGen/MachineOperand.h"
 #include "llvm/CodeGen/MachineScheduler.h"
-#include "llvm/CodeGen/LibcallLoweringInfo.h"
 #include "llvm/CodeGen/ScheduleDAG.h"
 #include "llvm/CodeGen/ScheduleDAGInstrs.h"
 #include "llvm/IR/IntrinsicsHexagon.h"
@@ -166,7 +166,8 @@ HexagonSubtarget::initializeSubtargetDependencies(StringRef CPU, StringRef FS) {
   return *this;
 }
 
-void HexagonSubtarget::initLibcallLoweringInfo(LibcallLoweringInfo &Info) const {
+void HexagonSubtarget::initLibcallLoweringInfo(
+    LibcallLoweringInfo &Info) const {
   // The generic arithmetic/division helper routines (__adddf3, __divsi3, ...)
   // exist in Hexagon's compiler-rt alongside the preferred __hexagon_*
   // variants, so both are available. The __hexagon_* variant is the one that

``````````

</details>


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


More information about the llvm-branch-commits mailing list