[llvm-dev] [llvm-commits at lists.llvm.org: Re: [llvm] 2dea3f1 - [SVE] Add new VectorType subclasses]

Joerg Sonnenberger via llvm-dev llvm-dev at lists.llvm.org
Wed May 13 11:44:53 PDT 2020


On Wed, May 13, 2020 at 05:54:04PM +0000, Chris Tetreault wrote:
>    There are only so many hours in the day, and my objective is to fix
> the issues with the C++ api. I have not spent a tremendous amount of
> time thinking about how to architect the C api for scalable vectors.
> That said, I have this patch up https://reviews.llvm.org/D78599 that
> provides a way to specifically get the bool from a vector, and to
> construct a scalable vector. If you need to be able to construct
> scalable vector objects via the C api, then feel free to bring this
> patch over the finish line or submit a patch that you feel is more in
> line with typical C api usage patterns.

ISTM that not supporting scalable vectors properly in the llvm-c API is
no showstopper right now. But the full breakage of the fixed vector API
is a real concern.

Joerg


More information about the llvm-dev mailing list