[PATCH] D157676: [VectorCombine] Enable transform 'foldSingleElementStore' for scalable vector types

Ben Shi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 15 18:58:23 PDT 2023


benshi001 added a comment.

In D157676#4587470 <https://reviews.llvm.org/D157676#4587470>, @dmgreen wrote:

> Does this need to be limited to LE? My understanding is that BE and LE vectors would store the elements in the same places, even for scalable vectors. (i.e. it's like an array, where the 0th element ends up first in memory).

Thanks. I have checked with AArch64's SVE standard and RISCV V-extension specification, LE/BE are just concepts within a scalar element, not the order of elements inside a vector.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D157676



More information about the llvm-commits mailing list