[llvm] fix link in doc - LLVM Alias Analysis Infrastructure (PR #81832)

via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 15 00:30:48 PST 2024


https://github.com/cyk2018 created https://github.com/llvm/llvm-project/pull/81832

in this [issue](https://github.com/llvm/llvm-project/issues/81412), there is dead link in document, I fix it and submit a pull request. Thank you.

>From 6e0a80aa1d2a57639a4c6fd7554c01a24886925a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E9=99=88=E9=92=B0=E5=9D=A4?= <2959363314 at qq.com>
Date: Thu, 15 Feb 2024 16:23:03 +0800
Subject: [PATCH] fix link in doc - LLVM Alias Analysis Infrastructure

---
 llvm/docs/AliasAnalysis.rst | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/llvm/docs/AliasAnalysis.rst b/llvm/docs/AliasAnalysis.rst
index 7afe0e277bd4f7..706a1920aeb5f5 100644
--- a/llvm/docs/AliasAnalysis.rst
+++ b/llvm/docs/AliasAnalysis.rst
@@ -19,7 +19,7 @@ indicating that two pointers always point to the same object, might point to the
 same object, or are known to never point to the same object.
 
 The LLVM `AliasAnalysis
-<https://llvm.org/doxygen/classllvm_1_1AliasAnalysis.html>`__ class is the
+<https://llvm.org/doxygen/classllvm_1_1AAResults.html>`__ class is the
 primary interface used by clients and implementations of alias analyses in the
 LLVM system.  This class is the common interface between clients of alias
 analysis information and the implementations providing it, and is designed to
@@ -36,7 +36,7 @@ points about what exactly results mean.
 ``AliasAnalysis`` Class Overview
 ================================
 
-The `AliasAnalysis <https://llvm.org/doxygen/classllvm_1_1AliasAnalysis.html>`__
+The `AliasAnalysis <https://llvm.org/doxygen/classllvm_1_1AAResults.html>`__
 class defines the interface that the various alias analysis implementations
 should support.  This class exports two important enums: ``AliasResult`` and
 ``ModRefResult`` which represent the result of an alias query or a mod/ref
@@ -274,7 +274,7 @@ Interfaces which may be specified
 ---------------------------------
 
 All of the `AliasAnalysis
-<https://llvm.org/doxygen/classllvm_1_1AliasAnalysis.html>`__ virtual methods
+<https://llvm.org/doxygen/classllvm_1_1AAResults.html>`__ virtual methods
 default to providing :ref:`chaining <aliasanalysis-chaining>` to another alias
 analysis implementation, which ends up returning conservatively correct
 information (returning "May" Alias and "Mod/Ref" for alias and mod/ref queries



More information about the llvm-commits mailing list