[docs][OpaquePtr] Fix hyperlinks
authorMindong Chen <chenmindong1@huawei.com>
Mon, 14 Nov 2022 15:18:47 +0000 (23:18 +0800)
committerMindong Chen <chenmindong1@huawei.com>
Mon, 14 Nov 2022 15:21:04 +0000 (23:21 +0800)
llvm/docs/OpaquePointers.rst

index 5d0e7ae..7573de6 100644 (file)
@@ -56,7 +56,7 @@ more of a hindrance for LLVM development and that the extra type checking with
 some frontends wasn't worth it.
 
 LLVM's type system was `originally designed
-<https://llvm.org/pubs/2003-05-01-GCCSummit2003.html>` to support high-level
+<https://llvm.org/pubs/2003-05-01-GCCSummit2003.html>`_ to support high-level
 optimization. However, years of LLVM implementation experience have demonstrated
 that the pointee type system design does not effectively support
 optimization. Memory optimization algorithms, such as SROA, GVN, and AA,
@@ -64,7 +64,7 @@ generally need to look through LLVM's struct types and reason about the
 underlying memory offsets. The community realized that pointee types hinder LLVM
 development, rather than helping it. Some of the initially proposed high-level
 optimizations have evolved into `TBAA
-<https://llvm.org/docs/LangRef.html#tbaa-metadata>` due to limitations with
+<https://llvm.org/docs/LangRef.html#tbaa-metadata>`_ due to limitations with
 representing higher-level language information directly via SSA values.
 
 Pointee types provide some value to frontends because the IR verifier uses types