[llvm] [Doc] Update a broken link in CompileCudaWithLLVM (PR #113282)

via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 22 04:14:16 PDT 2024


https://github.com/lifengxiang1025 updated https://github.com/llvm/llvm-project/pull/113282

>From cc099a119bf78aa0ba42776fc44271ccd09a56d4 Mon Sep 17 00:00:00 2001
From: lifengxiang <lifengxiang at kuaishou.com>
Date: Tue, 22 Oct 2024 08:19:43 +0000
Subject: [PATCH 1/2] [Doc] Update link

---
 llvm/docs/CompileCudaWithLLVM.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/llvm/docs/CompileCudaWithLLVM.rst b/llvm/docs/CompileCudaWithLLVM.rst
index 1b1a27255cc409..8ac5379bbc2344 100644
--- a/llvm/docs/CompileCudaWithLLVM.rst
+++ b/llvm/docs/CompileCudaWithLLVM.rst
@@ -523,7 +523,7 @@ LLVM to make it generate good GPU code.  Among these changes are:
   most effective on code along dominator paths.
 
 * `Memory space inference
-  <https://llvm.org/doxygen/NVPTXInferAddressSpaces_8cpp_source.html>`_ --
+  <https://llvm.org/doxygen/InferAddressSpaces_8cpp.html>`_ --
   In PTX, we can operate on pointers that are in a particular "address space"
   (global, shared, constant, or local), or we can operate on pointers in the
   "generic" address space, which can point to anything.  Operations in a

>From 4dd0a56b6d6514287e91f9c9c11c65e6dab83ada Mon Sep 17 00:00:00 2001
From: lifengxiang <lifengxiang at kuaishou.com>
Date: Tue, 22 Oct 2024 19:14:00 +0800
Subject: [PATCH 2/2] fix

---
 llvm/docs/CompileCudaWithLLVM.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/llvm/docs/CompileCudaWithLLVM.rst b/llvm/docs/CompileCudaWithLLVM.rst
index 8ac5379bbc2344..376d8ee550c999 100644
--- a/llvm/docs/CompileCudaWithLLVM.rst
+++ b/llvm/docs/CompileCudaWithLLVM.rst
@@ -523,7 +523,7 @@ LLVM to make it generate good GPU code.  Among these changes are:
   most effective on code along dominator paths.
 
 * `Memory space inference
-  <https://llvm.org/doxygen/InferAddressSpaces_8cpp.html>`_ --
+  <https://llvm.org/doxygen/InferAddressSpaces_8cpp_source.html>`_ --
   In PTX, we can operate on pointers that are in a particular "address space"
   (global, shared, constant, or local), or we can operate on pointers in the
   "generic" address space, which can point to anything.  Operations in a



More information about the llvm-commits mailing list