[PATCH] D94142: [IR] Allow scalable vectors in structs to support intrinsics returning multiple values.

Kito Cheng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 12 18:54:59 PST 2021


kito-cheng added a comment.

In D94142#2489469 <https://reviews.llvm.org/D94142#2489469>, @craig.topper wrote:

> It won't be a struct in clang's type system. It's it own special builtin type. I hope we can control the codegen of that type and emit it as multiple allocas/loads/stores. I haven't looked at this yet. Clang can also emit fixed size memcpys of structs which would be broken for this. So we are going to need to customize clang.

OK, I don't have strong opinion on allow or disallow allocas/loads/stores, just make sure we have aware there is potential issue there :)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D94142



More information about the llvm-commits mailing list