[llvm] [SystemZ/z/OS] Add library names for intrinsics (PR #68114)

via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 3 08:02:10 PDT 2023


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 06a05f334698c10a60459d30b4074fabedf72c48 56f0e0c38df0ef380425c171c1c5ab5fcdd251fc -- llvm/lib/Target/SystemZ/SystemZISelLowering.cpp
``````````

</details>

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

``````````diff
diff --git a/llvm/lib/Target/SystemZ/SystemZISelLowering.cpp b/llvm/lib/Target/SystemZ/SystemZISelLowering.cpp
index 9ef3b654a..da3129f08 100644
--- a/llvm/lib/Target/SystemZ/SystemZISelLowering.cpp
+++ b/llvm/lib/Target/SystemZ/SystemZISelLowering.cpp
@@ -693,10 +693,13 @@ SystemZTargetLowering::SystemZTargetLowering(const TargetMachine &TM,
   IsStrictFPEnabled = true;
 
   if (Subtarget.isTargetzOS()) {
-    struct RTLibCallMapping { RTLIB::Libcall Code; const char *Name; };
+    struct RTLibCallMapping {
+      RTLIB::Libcall Code;
+      const char *Name;
+    };
     static RTLibCallMapping RTLibCallCommon[] = {
-#define HANDLE_LIBCALL(code, name) { RTLIB::code, name },
-    #include "ZOSLibcallNames.def"
+#define HANDLE_LIBCALL(code, name) {RTLIB::code, name},
+#include "ZOSLibcallNames.def"
     };
     for (auto &E : RTLibCallCommon)
       setLibcallName(E.Code, E.Name);

``````````

</details>


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


More information about the llvm-commits mailing list