[llvm] [AMDGPU] Remove TH_BYPASS from CPol (PR #139887)
via llvm-commits
llvm-commits at lists.llvm.org
Wed May 14 05:19:28 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 cpp,h -- llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUInstPrinter.cpp llvm/lib/Target/AMDGPU/SIDefines.h
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/lib/Target/AMDGPU/SIDefines.h b/llvm/lib/Target/AMDGPU/SIDefines.h
index e75e71b06..f710dc625 100644
--- a/llvm/lib/Target/AMDGPU/SIDefines.h
+++ b/llvm/lib/Target/AMDGPU/SIDefines.h
@@ -369,16 +369,16 @@ enum CPol {
// Below are GFX12+ cache policy bits
// Temporal hint
- TH = 0x7, // All TH bits
- TH_RT = 0, // regular
- TH_NT = 1, // non-temporal
- TH_HT = 2, // high-temporal
- TH_LU = 3, // last use
- TH_WB = 3, // regular (CU, SE), high-temporal with write-back (MALL)
- TH_NT_RT = 4, // non-temporal (CU, SE), regular (MALL)
- TH_RT_NT = 5, // regular (CU, SE), non-temporal (MALL)
- TH_NT_HT = 6, // non-temporal (CU, SE), high-temporal (MALL)
- TH_NT_WB = 7, // non-temporal (CU, SE), high-temporal with write-back (MALL)
+ TH = 0x7, // All TH bits
+ TH_RT = 0, // regular
+ TH_NT = 1, // non-temporal
+ TH_HT = 2, // high-temporal
+ TH_LU = 3, // last use
+ TH_WB = 3, // regular (CU, SE), high-temporal with write-back (MALL)
+ TH_NT_RT = 4, // non-temporal (CU, SE), regular (MALL)
+ TH_RT_NT = 5, // regular (CU, SE), non-temporal (MALL)
+ TH_NT_HT = 6, // non-temporal (CU, SE), high-temporal (MALL)
+ TH_NT_WB = 7, // non-temporal (CU, SE), high-temporal with write-back (MALL)
TH_RESERVED = 7, // unused value for load insts
``````````
</details>
https://github.com/llvm/llvm-project/pull/139887
More information about the llvm-commits
mailing list