[PATCH] D114884: [VP] Strided loads/stores

Simon Moll via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 2 05:39:11 PST 2022


simoll added inline comments.
Herald added a project: All.


================
Comment at: llvm/docs/LangRef.rst:19980
+
+   ``%ptrs = <%ptr, %ptr + %stride, %ptr + 2 * %stride, ... >``,
+
----------------
The `stride` can have a different number of bits than the `ptr`.
To make the definition unambiguous, we should mention that the `stride` is always interpreted as a signed integer and all arithmetic occurs in the pointer type.
This implies that an over-sized `stride` is truncated and a less-bits-than-the-address `stride` is always sign extended to the address type.


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

https://reviews.llvm.org/D114884



More information about the llvm-commits mailing list