OSDN Git Service

[LangRef] insertelement/extractelement return poison for out of range.
authorEli Friedman <efriedma@codeaurora.org>
Fri, 8 Jun 2018 21:23:09 +0000 (21:23 +0000)
committerEli Friedman <efriedma@codeaurora.org>
Fri, 8 Jun 2018 21:23:09 +0000 (21:23 +0000)
commit0d3cb776ccff2527f38d380b63457dba849193a9
tree1a5b84ba7a634e7147107f883d967c031b0a9645
parent50a5ae6d0270ff586d106c6715908f708321764e
[LangRef] insertelement/extractelement return poison for out of range.

We need to clarify the language here. I think poison makes more sense
than undef, since it's an undefined operation rather than uninitialized
memory. I don't think anything depends on the difference at the moment,
though.

Differential Revision: https://reviews.llvm.org/D47859

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@334325 91177308-0d34-0410-b5e6-96231b3b80d8
docs/LangRef.rst