[llvm] [AMDGPU] Rename call instructions from b64 to i64 (PR #145103)

via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 20 14:16:42 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/AMDGPU/Disassembler/AMDGPUDisassembler.cpp llvm/lib/Target/AMDGPU/Disassembler/AMDGPUDisassembler.h llvm/lib/Target/AMDGPU/SIDefines.h llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h
``````````

</details>

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

``````````diff
diff --git a/llvm/lib/Target/AMDGPU/Disassembler/AMDGPUDisassembler.cpp b/llvm/lib/Target/AMDGPU/Disassembler/AMDGPUDisassembler.cpp
index 6217e5d5b..d434e0683 100644
--- a/llvm/lib/Target/AMDGPU/Disassembler/AMDGPUDisassembler.cpp
+++ b/llvm/lib/Target/AMDGPU/Disassembler/AMDGPUDisassembler.cpp
@@ -719,8 +719,9 @@ DecodeStatus AMDGPUDisassembler::getInstruction(MCInst &MI, uint64_t &Size,
 
       // FIXME: Should use DecoderTableGFX1250_FAKE1632, but it is not generated
       //        yet.
-      //if (isGFX1250() &&
-      //    tryDecodeInst(DecoderTableGFX125032, DecoderTableGFX1250_FAKE1632, MI,
+      // if (isGFX1250() &&
+      //    tryDecodeInst(DecoderTableGFX125032, DecoderTableGFX1250_FAKE1632,
+      //    MI,
       //                  DW, Address, CS))
       if (isGFX1250() &&
           tryDecodeInst(DecoderTableGFX125032, MI, DW, Address, CS))
@@ -2031,9 +2032,7 @@ bool AMDGPUDisassembler::isGFX12Plus() const {
   return AMDGPU::isGFX12Plus(STI);
 }
 
-bool AMDGPUDisassembler::isGFX1250() const {
-  return AMDGPU::isGFX1250(STI);
-}
+bool AMDGPUDisassembler::isGFX1250() const { return AMDGPU::isGFX1250(STI); }
 
 bool AMDGPUDisassembler::hasArchitectedFlatScratch() const {
   return STI.hasFeature(AMDGPU::FeatureArchitectedFlatScratch);

``````````

</details>


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


More information about the llvm-commits mailing list