[llvm] [AArch64] Drop poison-generating flags in `genSubAdd2SubSub` combiner (PR #90028)

via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 26 02:28:02 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 15f02723d49be9a828fbf072966a225babd60457 84c6c4394b81378fd75bb3381d5a42e36a38bd7a -- llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
``````````

</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 ae01bebcba..55fecc4b48 100644
--- a/llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
+++ b/llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
@@ -6943,7 +6943,7 @@ genSubAdd2SubSub(MachineFunction &MF, MachineRegisterInfo &MRI,
   InsInstrs.push_back(MIB1);
   InsInstrs.push_back(MIB2);
   DelInstrs.push_back(AddMI);
-  DelInstrs.push_back(&Root); 
+  DelInstrs.push_back(&Root);
 }
 
 /// When getMachineCombinerPatterns() finds potential patterns,

``````````

</details>


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


More information about the llvm-commits mailing list