[llvm] [ARM] Expose supportsTailCalls in ARMTargetTransformInfo (PR #67932)

via llvm-commits llvm-commits at lists.llvm.org
Sun Oct 1 12:51:51 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 95f4b2a70850b5e6ab83ec21af3fe5246cac0675 13b1d743b2851d4020f8c3a528a6798a32bde806 -- llvm/lib/Target/ARM/ARMTargetTransformInfo.h
``````````

</details>

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

``````````diff
diff --git a/llvm/lib/Target/ARM/ARMTargetTransformInfo.h b/llvm/lib/Target/ARM/ARMTargetTransformInfo.h
index 95cd1442e..d1d699b62 100644
--- a/llvm/lib/Target/ARM/ARMTargetTransformInfo.h
+++ b/llvm/lib/Target/ARM/ARMTargetTransformInfo.h
@@ -333,9 +333,7 @@ public:
 
   bool hasArmWideBranch(bool Thumb) const;
 
-  bool supportsTailCalls() const {
-    return ST->supportsTailCall();
-  }
+  bool supportsTailCalls() const { return ST->supportsTailCall(); }
 
   bool supportsTailCallFor(const CallBase *CB) const {
     return supportsTailCalls();

``````````

</details>


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


More information about the llvm-commits mailing list