[llvm] [LOH] Don't emit AdrpAddStr when register could be clobbered (PR #142849)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 11 14:28:46 PDT 2025
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 HEAD~1 HEAD --extensions cpp -- llvm/lib/Target/AArch64/AArch64CollectLOH.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/lib/Target/AArch64/AArch64CollectLOH.cpp b/llvm/lib/Target/AArch64/AArch64CollectLOH.cpp
index b0f530d06..064716216 100644
--- a/llvm/lib/Target/AArch64/AArch64CollectLOH.cpp
+++ b/llvm/lib/Target/AArch64/AArch64CollectLOH.cpp
@@ -247,7 +247,6 @@ static bool supportLoadFromLiteral(const MachineInstr &MI) {
}
}
-
/// Returns \p true if there are no non-debug instructions between \p First and
/// \p Second
static bool areInstructionsConsecutive(const MachineInstr *First,
``````````
</details>
https://github.com/llvm/llvm-project/pull/142849
More information about the llvm-commits
mailing list