[PATCH] D32737: [Constants][SVE] Represent the runtime length of a scalable vector

Amara Emerson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 22 02:17:51 PDT 2017


aemerson added a comment.

Hi all,

There are good questions here which we'll enumerate and answer individually once we send out a new RFC to llvm-dev.

The reason that we didn't send out a new RFC to the list and instead sent patches was because the basic idea of our SVE implementation was fundamentally unchanged in terms the modified `llvm::VectorType`. The other elements of our implementation didn't affect this core concept, e.g. whether we used an instruction like `elementcount` or our new `vscale` constant to deal with runtime vector lengths, likewise with the `stepvector` constant vs `seriesvector` instruction.

To clarify again, from the compiler's perspective we can assume that the VL is constant but unknown. If you have any other questions ping them to us and we'll try to answer them as part of the new RFC.

Amara


https://reviews.llvm.org/D32737





More information about the llvm-commits mailing list