diff --git a/llvm/docs/LangRef.rst b/llvm/docs/LangRef.rst --- a/llvm/docs/LangRef.rst +++ b/llvm/docs/LangRef.rst @@ -19390,7 +19390,8 @@ The '``llvm.vp.sqrt``' intrinsic performs floating-point square root (:ref:`sqrt `) of the first vector operand on each enabled lane. The result on disabled lanes is -undefined. The operation is performed in the default floating-point environment. +a :ref:`poison value `. The operation is performed in the default +floating-point environment. Examples: """"""""" @@ -19401,7 +19402,7 @@ ;; For all lanes below %evl, %r is lane-wise equivalent to %also.r %t = call <4 x float> @llvm.sqrt.v4f32(<4 x float> %a) - %also.r = select <4 x i1> %mask, <4 x float> %t, <4 x float> undef + %also.r = select <4 x i1> %mask, <4 x float> %t, <4 x float> poison .. _int_vp_fma: @@ -21508,8 +21509,8 @@ """""""""" The '``llvm.vp.ceil``' intrinsic performs floating-point ceiling -(:ref:`ceil `) of the first vector operand on each enabled lane. The -result on disabled lanes is undefined. +(:ref:`ceil `) of the first vector operand on each enabled lane. The +result on disabled lanes is a :ref:`poison value `. Examples: """"""""" @@ -21520,7 +21521,7 @@ ;; For all lanes below %evl, %r is lane-wise equivalent to %also.r %t = call <4 x float> @llvm.ceil.v4f32(<4 x float> %a) - %also.r = select <4 x i1> %mask, <4 x float> %t, <4 x float> undef + %also.r = select <4 x i1> %mask, <4 x float> %t, <4 x float> poison .. _int_vp_floor: @@ -21555,8 +21556,8 @@ """""""""" The '``llvm.vp.floor``' intrinsic performs floating-point floor -(:ref:`floor `) of the first vector operand on each enabled lane. The -result on disabled lanes is undefined. +(:ref:`floor `) of the first vector operand on each enabled lane. +The result on disabled lanes is a :ref:`poison value `. Examples: """"""""" @@ -21567,7 +21568,7 @@ ;; For all lanes below %evl, %r is lane-wise equivalent to %also.r %t = call <4 x float> @llvm.floor.v4f32(<4 x float> %a) - %also.r = select <4 x i1> %mask, <4 x float> %t, <4 x float> undef + %also.r = select <4 x i1> %mask, <4 x float> %t, <4 x float> poison .. _int_vp_round: @@ -21602,8 +21603,8 @@ """""""""" The '``llvm.vp.round``' intrinsic performs floating-point round -(:ref:`round `) of the first vector operand on each enabled lane. The -result on disabled lanes is undefined. +(:ref:`round `) of the first vector operand on each enabled lane. +The result on disabled lanes is a :ref:`poison value `. Examples: """"""""" @@ -21614,7 +21615,7 @@ ;; For all lanes below %evl, %r is lane-wise equivalent to %also.r %t = call <4 x float> @llvm.round.v4f32(<4 x float> %a) - %also.r = select <4 x i1> %mask, <4 x float> %t, <4 x float> undef + %also.r = select <4 x i1> %mask, <4 x float> %t, <4 x float> poison .. _int_vp_roundeven: @@ -21649,8 +21650,8 @@ """""""""" The '``llvm.vp.roundeven``' intrinsic performs floating-point roundeven -(:ref:`roundeven `) of the first vector operand on each enabled lane. The -result on disabled lanes is undefined. +(:ref:`roundeven `) of the first vector operand on each enabled +lane. The result on disabled lanes is a :ref:`poison value `. Examples: """"""""" @@ -21661,7 +21662,7 @@ ;; For all lanes below %evl, %r is lane-wise equivalent to %also.r %t = call <4 x float> @llvm.roundeven.v4f32(<4 x float> %a) - %also.r = select <4 x i1> %mask, <4 x float> %t, <4 x float> undef + %also.r = select <4 x i1> %mask, <4 x float> %t, <4 x float> poison .. _int_mload_mstore: