Hi Sophie,

Thanks for the question.

The chief blocker for updating gollvm to later versions of LLVM trunk is
dealing with LLVM's opaque pointer migration
<https://llvm.org/docs/OpaquePointers.html> in the gollvm bridge
<https://go.googlesource.com/gollvm/+/408e6a8748abf5bec3661f5cebf2f5cb52d0c6c0/bridge/>
source code. The bridge (which maps from gofrontend's IR to LLVM IR) was
written prior to opaque pointers and it assumes that given an LLVM type T,
it can always ask for what T points to (which is exactly what you can't do
under the opaque pointer model).

Fixing this is not a huge amounts of work (maybe a few weeks? hard to tell)
but the folks with the highest level of gollvm expertise have been tied up
with other more important priorities.

So to answer your question, no plans in the short term.  I could provide
some limited help (pointers etc) but I don't have the time to make a
significant investment in this at the moment.

Thanks, Than

On Mon, Feb 26, 2024 at 12:57 AM sophie zhao <sophiezhao...@gmail.com>
wrote:

> Hello,
> We want to add support for the loongarch architecture to gollvm, which
> requires using an LLVM version that supports loongarch (that is, a version
> >= 16.0.0). The current gollvm only syncs with LLVM trunk at 09629215c272.
> We did some work synchronizing LLVM locally, but it wasn't enough. We would
> like to ask if the community has any work plan to synchronize LLVM. If
> necessary, we can also join in this work.
>
> --
> You received this message because you are subscribed to the Google Groups
> "golang-nuts" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to golang-nuts+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/golang-nuts/b9ff523c-1e13-43a4-bb22-03ca46e84c7fn%40googlegroups.com
> <https://groups.google.com/d/msgid/golang-nuts/b9ff523c-1e13-43a4-bb22-03ca46e84c7fn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/CA%2BUr55G9nUHo-n3PefAOhs6sVcb16N%2BRTmqrvE-CJbXv4ZANMQ%40mail.gmail.com.

Reply via email to