[llvm] cc67a8f - [VP][LangRef] Correct select operands in vp.fptosi docs

Fraser Cormack via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 31 00:41:59 PDT 2022


Author: Fraser Cormack
Date: 2022-03-31T08:30:18+01:00
New Revision: cc67a8fcf14891952b0a75fd11c70e0ef5a7630b

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

LOG: [VP][LangRef] Correct select operands in vp.fptosi docs

Added: 
    

Modified: 
    llvm/docs/LangRef.rst

Removed: 
    


################################################################################
diff  --git a/llvm/docs/LangRef.rst b/llvm/docs/LangRef.rst
index 8c06c18e46079..ab9bc3be29fd8 100644
--- a/llvm/docs/LangRef.rst
+++ b/llvm/docs/LangRef.rst
@@ -20229,7 +20229,7 @@ Examples:
       ;; For all lanes below %evl, %r is lane-wise equivalent to %also.r
 
       %t = fptosi <4 x float> %a to <4 x i32>
-      %also.r = select <4 x i1> %mask, <4 x float> %t, <4 x float> undef
+      %also.r = select <4 x i1> %mask, <4 x i32> %t, <4 x i32> undef
 
 .. _int_vp_sitofp:
 


        


More information about the llvm-commits mailing list