[llvm] AMDGPU/GFX12: Insert waitcnts before stores with scope_sys (PR #82996)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 27 09:02:53 PST 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 b98e6a5ced8328fdefa9a519ae98052a29462e23 498816b3fe7c50aa31e303ea2c99a11bfa0e02eb -- llvm/lib/Target/AMDGPU/SIInstrInfo.h llvm/lib/Target/AMDGPU/SIMemoryLegalizer.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/lib/Target/AMDGPU/SIMemoryLegalizer.cpp b/llvm/lib/Target/AMDGPU/SIMemoryLegalizer.cpp
index f280ebe82d..d7788f41b1 100644
--- a/llvm/lib/Target/AMDGPU/SIMemoryLegalizer.cpp
+++ b/llvm/lib/Target/AMDGPU/SIMemoryLegalizer.cpp
@@ -2397,7 +2397,7 @@ bool SIGfx12CacheControl::enableVolatileAndOrNonTemporal(
Changed |= setScope(MI, AMDGPU::CPol::SCOPE_SYS);
if (Op == SIMemOp::STORE)
- Changed |= insertWaitsBeforeSystemScopeStore(MI);
+ Changed |= insertWaitsBeforeSystemScopeStore(MI);
// Ensure operation has completed at system scope to cause all volatile
// operations to be visible outside the program in a global order. Do not
``````````
</details>
https://github.com/llvm/llvm-project/pull/82996
More information about the llvm-commits
mailing list