[llvm] [NVPTX] mangle symbols in debug info to conform to PTX restrictions. (PR #113216)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 21 13:35:33 PDT 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 b35b5838094cdae897519a5f404a18e613041cff c5182acb2ea5ecbf4b7992c6b46c2637422330a5 --extensions cpp,h -- llvm/lib/Target/NVPTX/MCTargetDesc/NVPTXTargetStreamer.cpp llvm/lib/Target/NVPTX/MCTargetDesc/NVPTXTargetStreamer.h llvm/lib/Target/NVPTX/NVPTXAssignValidGlobalNames.cpp llvm/lib/Target/NVPTX/NVPTXUtilities.cpp llvm/lib/Target/NVPTX/NVPTXUtilities.h
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/lib/Target/NVPTX/NVPTXUtilities.h b/llvm/lib/Target/NVPTX/NVPTXUtilities.h
index 0cf1f77f64..7ce00b9b56 100644
--- a/llvm/lib/Target/NVPTX/NVPTXUtilities.h
+++ b/llvm/lib/Target/NVPTX/NVPTXUtilities.h
@@ -99,7 +99,6 @@ inline std::string getValidPTXIdentifier(StringRef Name) {
return ValidName;
}
-
inline std::string OrderingToString(Ordering Order) {
switch (Order) {
case Ordering::NotAtomic:
``````````
</details>
https://github.com/llvm/llvm-project/pull/113216
More information about the llvm-commits
mailing list