Re: [go-nuts] Reason to use different address space in gollvm

2021-07-08 Thread Kavindu Gimhan Zoysa
Hi Than, Thank you a lot for sharing this valuable information. It helps me a lot to understand this. Thank you, Kavindu On Wednesday, 7 July 2021 at 20:31:12 UTC+5:30 th...@google.com wrote: > Hi again, > > Sorry for the delay, I have been offline for a while. > > > You wrote: > >Regarding ad

Re: [go-nuts] Reason to use different address space in gollvm

2021-07-07 Thread 'Than McIntosh' via golang-nuts
Hi again, Sorry for the delay, I have been offline for a while. You wrote: >Regarding address spaces, I saw that there is a pass to remove address space casts. But if I generate IR using `llvm-goc -dump-ir -enable-gc=1 test.go` for the following go file, I still can see the addrspacecast instruct

Re: [go-nuts] Reason to use different address space in gollvm

2021-07-05 Thread Kavindu Gimhan Zoysa
Hi, Regarding address spaces, I saw that there is a pass to remove address space casts. But if I generate IR using `*llvm-goc -dump-ir -enable-gc=1 test.go*` for the following go file, I still can see the *addrspacecast* instruction. What is the reason to see that *addrspacecast? *I feel that

Re: [go-nuts] Reason to use different address space in gollvm

2021-06-29 Thread 'Than McIntosh' via golang-nuts
See https://llvm.org/docs/Statepoints.html for more on this. Thanks, Than On Mon, Jun 28, 2021 at 5:40 AM Kavindu Gimhan Zoysa wrote: > Hi all, > > Can you please explain the reason to use different address space when GC > is enabled as shown in the below line? > > > https://go.googlesource.co

[go-nuts] Reason to use different address space in gollvm

2021-06-28 Thread Kavindu Gimhan Zoysa
Hi all, Can you please explain the reason to use different address space when GC is enabled as shown in the below line? https://go.googlesource.com/gollvm/+/refs/heads/master/driver/CompileGo.cpp#559 Thank you, Kavindu -- You received this message because you are subscribed to the Google Grou