[llvm] a0e5d9e - [LangRef][NFC] Correct select operands in vp.fcmp docs

Fraser Cormack via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 30 09:14:53 PDT 2022


Author: Fraser Cormack
Date: 2022-03-30T17:03:15+01:00
New Revision: a0e5d9e1f41bb9dca94815f714646640d656d085

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

LOG: [LangRef][NFC] Correct select operands in vp.fcmp docs

Thanks for craig.topper for spotting this.

Added: 
    

Modified: 
    llvm/docs/LangRef.rst

Removed: 
    


################################################################################
diff  --git a/llvm/docs/LangRef.rst b/llvm/docs/LangRef.rst
index c04349c691dfc..51dd530c5e19b 100644
--- a/llvm/docs/LangRef.rst
+++ b/llvm/docs/LangRef.rst
@@ -20338,7 +20338,7 @@ Examples:
       ;; For all lanes below %evl, %r is lane-wise equivalent to %also.r
 
       %t = fcmp oeq <4 x float> %a, %b
-      %also.r = select <4 x i1> %mask, <4 x float> %t, <4 x float> undef
+      %also.r = select <4 x i1> %mask, <4 x i1> %t, <4 x i1> undef
 
 
 .. _int_mload_mstore:


        


More information about the llvm-commits mailing list