[llvm] [AMDGPU] Remove dead handling of S_SETPC_B64 (PR #71275)
via llvm-commits
llvm-commits at lists.llvm.org
Sat Nov 4 01:36:13 PDT 2023
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 83888a5404d46667647fe36d6fa510d075ed57ea ad64e8fde37bd7552bbd57508224c06c7b5c0bb8 -- llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/lib/Target/AMDGPU/SIInstrInfo.cpp b/llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
index 41e53e810..cd929c12e 100644
--- a/llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
+++ b/llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
@@ -2774,8 +2774,8 @@ bool SIInstrInfo::isBranchOffsetInRange(unsigned BranchOp,
return isIntN(BranchOffsetBits, BrOffset);
}
-MachineBasicBlock *SIInstrInfo::getBranchDestBlock(
- const MachineInstr &MI) const {
+MachineBasicBlock *
+SIInstrInfo::getBranchDestBlock(const MachineInstr &MI) const {
return MI.getOperand(0).getMBB();
}
``````````
</details>
https://github.com/llvm/llvm-project/pull/71275
More information about the llvm-commits
mailing list