[llvm] 2e0ee68 - [LangRef][VP] Fix typos in VP sdiv/udiv examples

Fraser Cormack via llvm-commits llvm-commits at lists.llvm.org
Thu May 6 08:45:15 PDT 2021


Author: Fraser Cormack
Date: 2021-05-06T16:37:18+01:00
New Revision: 2e0ee68dc85c0a2b7e65e489a60ab363393b06a8

URL: https://github.com/llvm/llvm-project/commit/2e0ee68dc85c0a2b7e65e489a60ab363393b06a8
DIFF: https://github.com/llvm/llvm-project/commit/2e0ee68dc85c0a2b7e65e489a60ab363393b06a8.diff

LOG: [LangRef][VP] Fix typos in VP sdiv/udiv examples

Added: 
    

Modified: 
    llvm/docs/LangRef.rst

Removed: 
    


################################################################################
diff  --git a/llvm/docs/LangRef.rst b/llvm/docs/LangRef.rst
index b23fe91ea0b4..5241ad2a9865 100644
--- a/llvm/docs/LangRef.rst
+++ b/llvm/docs/LangRef.rst
@@ -17575,7 +17575,7 @@ Examples:
       ;; For all lanes below %evl, %r is lane-wise equivalent to %also.r
 
       %t = sdiv <4 x i32> %a, %b
-      %also.r = select <4 x ii> %mask, <4 x i32> %t, <4 x i32> undef
+      %also.r = select <4 x i1> %mask, <4 x i32> %t, <4 x i32> undef
 
 
 .. _int_vp_udiv:
@@ -17620,7 +17620,7 @@ Examples:
       ;; For all lanes below %evl, %r is lane-wise equivalent to %also.r
 
       %t = udiv <4 x i32> %a, %b
-      %also.r = select <4 x ii> %mask, <4 x i32> %t, <4 x i32> undef
+      %also.r = select <4 x i1> %mask, <4 x i32> %t, <4 x i32> undef
 
 
 


        


More information about the llvm-commits mailing list