[LLVMdev] Moving towards a singular pointer type

David Blaikie dblaikie at gmail.com
Fri Mar 27 10:53:01 PDT 2015


On Fri, Mar 27, 2015 at 9:08 AM, David Chisnall <David.Chisnall at cl.cam.ac.uk
> wrote:

> 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.
>

My best guess is that I might not've accounted for all possible forms of
whitespace - if you have an example I can try to improve the script & send
it as a follow-up to the original commit message. Sorry for the
inconvenience. :/

- David


>
> David
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150327/5a5dc830/attachment.html>


More information about the llvm-dev mailing list