[llvm] Fixme: Stack (PR #85014)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 12 19:25:20 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 096d061c1c2f91edef7186bd8b61067020f49898 cfffab0eace7846d2013ecd2632b5eabb93eef85 -- llvm/lib/Target/ARM/Thumb1FrameLowering.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/lib/Target/ARM/Thumb1FrameLowering.cpp b/llvm/lib/Target/ARM/Thumb1FrameLowering.cpp
index 2c4019f2ac..6e7d980230 100644
--- a/llvm/lib/Target/ARM/Thumb1FrameLowering.cpp
+++ b/llvm/lib/Target/ARM/Thumb1FrameLowering.cpp
@@ -1051,7 +1051,7 @@ static void popRegsFromStack(MachineBasicBlock &MBB,
if (Reg == ARM::LR) {
if (!MBB.succ_empty() || MI->getOpcode() == ARM::TCRETURNdi ||
MI->getOpcode() == ARM::TCRETURNri) {
-
+
// If we don't pass any stack arguments it would be actually
// advantageous *and* correct to do the conversion to an ordinary call
// instruction here.
``````````
</details>
https://github.com/llvm/llvm-project/pull/85014
More information about the llvm-commits
mailing list