HomePhabricator

[LangRef] Describe memory layout for vectors types

Authored by bjope on Mar 16 2021, 4:47 AM.

Description

[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

Details