[PATCH] D86637: [LangRef] get.active.lane.mask can produce poison

Sjoerd Meijer via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 27 00:58:17 PDT 2020


This revision was automatically updated to reflect the committed changes.
Closed by commit rGca243b07276a: [LangRef] get.active.lane.mask can produce poison value (authored by SjoerdMeijer).

Changed prior to commit:
  https://reviews.llvm.org/D86637?vs=288009&id=288220#toc

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D86637/new/

https://reviews.llvm.org/D86637

Files:
  llvm/docs/LangRef.rst


Index: llvm/docs/LangRef.rst
===================================================================
--- llvm/docs/LangRef.rst
+++ llvm/docs/LangRef.rst
@@ -16937,9 +16937,9 @@
 indexed by ``i``,  and ``%base``, ``%n`` are the two arguments to
 ``llvm.get.active.lane.mask.*``, ``%icmp`` is an integer compare and ``ult``
 the unsigned less-than comparison operator.  Overflow cannot occur in
-``(%base + i)`` and its comparison against ``%n`` with ``%n > 0``, as it is
-performed in integer numbers and not in machine numbers. The above is
-equivalent to:
+``(%base + i)`` and its comparison against ``%n`` as it is performed in integer
+numbers and not in machine numbers.  If ``%n`` is ``0``, then the result a
+poison value. The above is equivalent to:
 
 ::
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D86637.288220.patch
Type: text/x-patch
Size: 761 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200827/bb558d02/attachment.bin>


More information about the llvm-commits mailing list