[llvm] [AMDGPU] Avoid referring to specific number of address spaces. NFC. (PR #137842)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 29 09:37:33 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 -- llvm/lib/Target/AMDGPU/AMDGPU.h
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/lib/Target/AMDGPU/AMDGPU.h b/llvm/lib/Target/AMDGPU/AMDGPU.h
index 11f424058..9526faf4f 100644
--- a/llvm/lib/Target/AMDGPU/AMDGPU.h
+++ b/llvm/lib/Target/AMDGPU/AMDGPU.h
@@ -562,7 +562,6 @@ static inline bool addrspacesMayAlias(unsigned AS1, unsigned AS2) {
return ASAliasRules[AS1][AS2];
}
-
}
} // End namespace llvm
``````````
</details>
https://github.com/llvm/llvm-project/pull/137842
More information about the llvm-commits
mailing list