[PATCH] D106333: [AArch64][SVE] Handle svbool_t VLST <-> VLAT/GNUT conversion

JunMa via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 20 02:45:47 PDT 2021


junparser added a comment.

In D106333#2889168 <https://reviews.llvm.org/D106333#2889168>, @junparser wrote:

> @efriedma with this patch,  all of conversion between VLST and VLAT should have same vector size(getElementType() * getElementCount()). The regression in D105097 <https://reviews.llvm.org/D105097> will be fixed by using bitcast + vector.insert/extract directly

OK, actually this is wrong due to vscale representation in llvm ir.  However, we can still use bitcast as long as we can handle <32*i1> <64*i1>... in backend? any suggestion about this? @efriedma


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D106333



More information about the cfe-commits mailing list