[llvm] [AMDGPU] Add s_delay_alu in relocated PC-relative symbol sequence (PR #71061)

via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 3 03:30:07 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 ddfee5d2d6f845d38fbdd0ce3a42acdb95e009b2 db1b73003fab9abd7d1bb45f6eb03f690961b497 -- llvm/lib/Target/AMDGPU/AMDGPUInsertDelayAlu.cpp llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.h 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/AMDGPUTargetMachine.cpp b/llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
index 9478e6dda9b3..bfd5cb2cb4d0 100644
--- a/llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
+++ b/llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
@@ -292,9 +292,7 @@ static cl::opt<bool>
                          cl::desc("Enable s_delay_alu insertion"),
                          cl::init(true), cl::Hidden);
 
-bool llvm::ShouldInsertDelayAlu() {
-  return EnableInsertDelayAlu;
-}
+bool llvm::ShouldInsertDelayAlu() { return EnableInsertDelayAlu; }
 
 // Enable GFX11+ VOPD
 static cl::opt<bool>

``````````

</details>


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


More information about the llvm-commits mailing list