[llvm-dev] Adding libcall support for Rust's new vector math library

Jacob Lifshay via llvm-dev llvm-dev at lists.llvm.org
Thu Jun 10 23:39:17 PDT 2021


On Thu, Jun 10, 2021 at 8:47 AM Sjoerd Meijer <Sjoerd.Meijer at arm.com> wrote:
>
>
> > Yeah, I'm aware the infrastructure already exists, I'm just not sure how I should add the new code -- which classes should I subclass/modify?
>
> I think you could do this by example. There is a front-end part, e.g. https://reviews.llvm.org/D53928, and there is back-end part, e.g. https://reviews.llvm.org/D53927.

Thanks for the links!

Would we have to add support to clang in order to merge our patches,
or can we get away with just adding support to llvm and rustc for now
since the vector math library is going to be mostly used just through
rustc?

Jacob


More information about the llvm-dev mailing list