[llvm] [ARM] Fix failure to register-allocate CMP_SWAP_64 pseudo-inst (PR #104039)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 20 03:02:31 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 0edd07770f7b6bd8120f52d80db6ef1a1f66e519 f40a20a8d7f367e453592079f07bccb98e3ce780 --extensions cpp -- llvm/lib/CodeGen/RegAllocFast.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/lib/CodeGen/RegAllocFast.cpp b/llvm/lib/CodeGen/RegAllocFast.cpp
index 97950d7e6a..a67fb77012 100644
--- a/llvm/lib/CodeGen/RegAllocFast.cpp
+++ b/llvm/lib/CodeGen/RegAllocFast.cpp
@@ -335,7 +335,7 @@ private:
void allocateBasicBlock(MachineBasicBlock &MBB);
void addRegClassCounts(MutableArrayRef<unsigned> RegClassDefCounts,
- Register Reg) const;
+ Register Reg) const;
void findAndSortDefOperandIndexes(const MachineInstr &MI);
void findAndSortUseOperandIndexes(const MachineInstr &MI);
``````````
</details>
https://github.com/llvm/llvm-project/pull/104039
More information about the llvm-commits
mailing list