[llvm] Fixed typo in LangRef.rst (PR #68789)

Paschalis Mpeis via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 11 07:29:59 PDT 2023


https://github.com/paschalis updated https://github.com/llvm/llvm-project/pull/68789

>From a0867615e19532869422f9ae10d8fd2347711c47 Mon Sep 17 00:00:00 2001
From: pasmpe01 <Paschalis.Mpeis at arm.com>
Date: Wed, 11 Oct 2023 10:05:34 +0100
Subject: [PATCH 1/2] Fixed typo in LangRef.rst

An IR sample in LangRef had a misplaced comment delimiter.
---
 llvm/docs/LangRef.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/llvm/docs/LangRef.rst b/llvm/docs/LangRef.rst
index 1883e9f6290b151..efcac5f0c8375f1 100644
--- a/llvm/docs/LangRef.rst
+++ b/llvm/docs/LangRef.rst
@@ -18357,8 +18357,8 @@ For example:
 
 .. code-block:: text
 
- llvm.experimental.vector.splice(<A,B,C,D>, <E,F,G,H>, 1)  ==> <B, C, D, E> ; index
- llvm.experimental.vector.splice(<A,B,C,D>, <E,F,G,H>, -3) ==> <B, C, D, E> ; trailing elements
+ llvm.experimental.vector.splice(<A,B,C,D>, <E,F,G,H>, 1);  ==> <B, C, D, E> index
+ llvm.experimental.vector.splice(<A,B,C,D>, <E,F,G,H>, -3); ==> <B, C, D, E> trailing elements
 
 
 Arguments:

>From 234e0379463ba5641fb951636238ad26e5efc22d Mon Sep 17 00:00:00 2001
From: pasmpe01 <Paschalis.Mpeis at arm.com>
Date: Wed, 11 Oct 2023 15:13:19 +0100
Subject: [PATCH 2/2] Fixing the same typo in more places.

---
 llvm/docs/LangRef.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/llvm/docs/LangRef.rst b/llvm/docs/LangRef.rst
index efcac5f0c8375f1..35123474381e7d6 100644
--- a/llvm/docs/LangRef.rst
+++ b/llvm/docs/LangRef.rst
@@ -21517,8 +21517,8 @@ Examples:
 
 .. code-block:: text
 
- llvm.experimental.vp.splice(<A,B,C,D>, <E,F,G,H>, 1, 2, 3)  ==> <B, E, F, poison> ; index
- llvm.experimental.vp.splice(<A,B,C,D>, <E,F,G,H>, -2, 3, 2) ==> <B, C, poison, poison> ; trailing elements
+ llvm.experimental.vp.splice(<A,B,C,D>, <E,F,G,H>, 1, 2, 3);  ==> <B, E, F, poison> index
+ llvm.experimental.vp.splice(<A,B,C,D>, <E,F,G,H>, -2, 3, 2); ==> <B, C, poison, poison> trailing elements
 
 
 .. _int_vp_load:



More information about the llvm-commits mailing list