[LangRef] Describe memory layout for vectors types
authorBjorn Pettersson <bjorn.a.pettersson@ericsson.com>
Tue, 16 Mar 2021 11:47:16 +0000 (12:47 +0100)
committerBjorn Pettersson <bjorn.a.pettersson@ericsson.com>
Fri, 19 Mar 2021 18:00:37 +0000 (19:00 +0100)
commit5737010a7948441c78c2a367afa7c86efc8ae268
tree3029792b58feda5e275df65c141e37a1a42958f9
parent5d315691c42b57d1858d0f8dc486708bf839cdb3
[LangRef] Describe memory layout for vectors types

There are a couple of caveats when it comes to how vectors are
stored to memory, and thereby also how bitcast between vector
and integer types work, in LLVM IR. Specially in relation to
endianess. This patch is an attempt to document such things.

Reviewed By: nlopes

Differential Revision: https://reviews.llvm.org/D94964
llvm/docs/LangRef.rst