[llvm] [AMDGPU] NFC: Provide RPTracker interface for external iterators (PR #93088)

via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 13 12:32:21 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 470aefb240dee7d791875284b9917bf641ca971a 13439a4e4dcfebb9ddeb218fd47fb18465f01a50 --extensions h,cpp -- llvm/lib/Target/AMDGPU/GCNRegPressure.cpp llvm/lib/Target/AMDGPU/GCNRegPressure.h
``````````

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/llvm/lib/Target/AMDGPU/GCNRegPressure.h b/llvm/lib/Target/AMDGPU/GCNRegPressure.h
index 29ebeb1843c..8267b8d1c8c 100644
--- a/llvm/lib/Target/AMDGPU/GCNRegPressure.h
+++ b/llvm/lib/Target/AMDGPU/GCNRegPressure.h
@@ -162,7 +162,7 @@ protected:
 
   void reset(const MachineInstr &MI, const LiveRegSet *LiveRegsCopy,
              bool After);
-  
+
   void bumpDeadDefs(ArrayRef<RegisterMaskPair> DeadDefs);
 
   LaneBitmask getLastUsedLanes(Register RegUnit, SlotIndex Pos) const;

``````````

</details>


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


More information about the llvm-commits mailing list