[LLVMdev] Moving towards a singular pointer type
David Chisnall
David.Chisnall at cl.cam.ac.uk
Fri Mar 27 09:08:28 PDT 2015
On 27 Mar 2015, at 15:47, David Blaikie <dblaikie at gmail.com> wrote:
>
> Here's one example from the gep instruction changes (none of the test cases in that commit were updated manually, all were done using the script)
>
> - %arrayidx = getelementptr <2 x i32> addrspace(1)* %tmp, i32 %tmp1
> + %arrayidx = getelementptr <2 x i32>, <2 x i32> addrspace(1)* %tmp, i32 %tmp1
>
> Is there some other use of addrspace you're referring to/I'm not understanding?
That looks like the form that we were seeing, but it ended up being translated with the addrspace(1) bit before the comma as well.
David
More information about the llvm-dev
mailing list