[PATCH] D135244: [LangRef][VP] Change masked-off lanes from undef to poison
Fraser Cormack via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 5 00:33:25 PDT 2022
frasercrmck created this revision.
frasercrmck added reviewers: simoll, craig.topper, reames, eopXD, rogfer01.
Herald added subscribers: StephenFan, jdoerfert.
Herald added a project: All.
frasercrmck requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
These were all changed in 32b1b06b7081bd722750c6f3d528336f3f7ed34b <https://reviews.llvm.org/rG32b1b06b7081bd722750c6f3d528336f3f7ed34b> (as
discussed in D133967 <https://reviews.llvm.org/D133967>) but some intrinsics introduced since have
re-introduced `undef` as the masked-off value.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D135244
Files:
llvm/docs/LangRef.rst
Index: llvm/docs/LangRef.rst
===================================================================
--- llvm/docs/LangRef.rst
+++ llvm/docs/LangRef.rst
@@ -21508,8 +21508,8 @@
""""""""""
The '``llvm.vp.ceil``' intrinsic performs floating-point ceiling
-(:ref:`ceil <int_ceil>`) of the first vector operand on each enabled lane. The
-result on disabled lanes is undefined.
+(:ref:`ceil <int_ceil>`) of the first vector operand on each enabled lane. The
+result on disabled lanes is a :ref:`poison value <poisonvalues>`.
Examples:
"""""""""
@@ -21555,8 +21555,8 @@
""""""""""
The '``llvm.vp.floor``' intrinsic performs floating-point floor
-(:ref:`floor <int_floor>`) of the first vector operand on each enabled lane. The
-result on disabled lanes is undefined.
+(:ref:`floor <int_floor>`) of the first vector operand on each enabled lane.
+The result on disabled lanes is a :ref:`poison value <poisonvalues>`.
Examples:
"""""""""
@@ -21602,8 +21602,8 @@
""""""""""
The '``llvm.vp.round``' intrinsic performs floating-point round
-(:ref:`round <int_round>`) of the first vector operand on each enabled lane. The
-result on disabled lanes is undefined.
+(:ref:`round <int_round>`) of the first vector operand on each enabled lane.
+The result on disabled lanes is a :ref:`poison value <poisonvalues>`.
Examples:
"""""""""
@@ -21649,8 +21649,8 @@
""""""""""
The '``llvm.vp.roundeven``' intrinsic performs floating-point roundeven
-(:ref:`roundeven <int_roundeven>`) of the first vector operand on each enabled lane. The
-result on disabled lanes is undefined.
+(:ref:`roundeven <int_roundeven>`) of the first vector operand on each enabled
+lane. The result on disabled lanes is a :ref:`poison value <poisonvalues>`.
Examples:
"""""""""
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D135244.465297.patch
Type: text/x-patch
Size: 1766 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221005/fb680800/attachment.bin>
More information about the llvm-commits
mailing list