[PATCH] D112531: [RFC][DataLayout] Allow vector specifications by element size

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 3 15:46:01 PST 2021


craig.topper added a comment.

While the spec doesn't require RVV vectors to be more aligned than element size. A given microarchitecture may be more optimal if data is aligned to a VLEN chunk or perhaps a fraction of a VLEN chunk. So the preferred alignment for such a CPU would be more than element alignment. Though maybe data layout isn't the right place to handle microarchitectural differences like that.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D112531



More information about the llvm-commits mailing list