[llvm] [AArch64][MachineCombiner] Combine sequences of gather patterns (PR #152979)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 11 02:11:32 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 h,cpp -- llvm/lib/Target/AArch64/AArch64InstrInfo.cpp llvm/lib/Target/AArch64/AArch64InstrInfo.h
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/lib/Target/AArch64/AArch64InstrInfo.cpp b/llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
index eb759b360..0a7668254 100644
--- a/llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
+++ b/llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
@@ -7415,7 +7415,8 @@ static bool getMiscPatterns(MachineInstr &Root,
/// Check if there are any stores or calls between two instructions in the same
/// basic block.
-static bool hasInterveningStoreOrCall(const MachineInstr *First, const MachineInstr *Last) {
+static bool hasInterveningStoreOrCall(const MachineInstr *First,
+ const MachineInstr *Last) {
if (!First || !Last || First == Last)
return false;
``````````
</details>
https://github.com/llvm/llvm-project/pull/152979
More information about the llvm-commits
mailing list