Author: Dmitry Sidorov Date: 2026-07-23T17:12:41+02:00 New Revision: 6690cd6f9f5f0c1ee5157f013b50dfcfcb665f2b
URL: https://github.com/llvm/llvm-project/commit/6690cd6f9f5f0c1ee5157f013b50dfcfcb665f2b DIFF: https://github.com/llvm/llvm-project/commit/6690cd6f9f5f0c1ee5157f013b50dfcfcb665f2b.diff LOG: [DOC] Update SPIR-V Support on HIPAMD ToolChain (#211542) SPIR-V backend now is the default path. Added: Modified: clang/docs/HIPSupport.md Removed: ################################################################################ diff --git a/clang/docs/HIPSupport.md b/clang/docs/HIPSupport.md index bf6f2268c34b9..8980a27c55474 100644 --- a/clang/docs/HIPSupport.md +++ b/clang/docs/HIPSupport.md @@ -1085,10 +1085,15 @@ diverges from the traditional compilation flow: generates generic AMDGCN SPIR-V which retains architecture specific elements without hardcoding them, thus allowing for optimal target specific code to be generated at run time, when the concrete target is known. -- **LLVM IR Translation**: The program is compiled to LLVM Intermediate - Representation (IR), which is subsequently translated into SPIR-V. In the - future, this translation step will be replaced by direct SPIR-V emission via - the SPIR-V Back-end. +- **SPIR-V emission**: The program is compiled to LLVM Intermediate + Representation (IR), which is subsequently lowered into SPIR-V via the SPIR-V + backend. + + :::{note} + The SPIR-V backend does not currently preserve debug information. Pass + `-no-use-spirv-backend` on the command line to fall back to the legacy + translation path, which retains debug information. + ::: - **Clang Offload Bundler**: The resulting SPIR-V is embedded in the Clang offload bundler with the bundle ID `hip-spirv64-amd-amdhsa--amdgcnspirv`. _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
