[PATCH] D146872: [1/N][IR] Permit load/store/alloca for struct of the same scalable vector type

Kito Cheng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 30 08:19:26 PDT 2023


kito-cheng added a comment.

I think you also need to update LangRef.rst at least this sentence : https://github.com/llvm/llvm-project/blob/main/llvm/docs/LangRef.rst#L738

  :ref:`Scalable vectors <t_vector>` cannot be global variables or members of
  arrays because their size is unknown at compile time. They are allowed in
  structs to facilitate intrinsics returning multiple values. Structs containing
  scalable vectors cannot be used in loads, stores, allocas, or GEPs.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D146872



More information about the llvm-commits mailing list