[llvm-commits] First patch to add support for variable address spaces to optimizers
Villmow, Micah
Micah.Villmow at amd.com
Wed Oct 10 16:00:21 PDT 2012
Yeah, not sure which ones I need to modify though, then ones where I default to 0 I don't really see how I can get the address space, so I set it to the default.
> -----Original Message-----
> From: Eli Friedman [mailto:eli.friedman at gmail.com]
> Sent: Wednesday, October 10, 2012 3:58 PM
> To: Villmow, Micah
> Cc: llvm-commits at cs.uiuc.edu
> Subject: Re: [llvm-commits] First patch to add support for variable
> address spaces to optimizers
>
> On Wed, Oct 10, 2012 at 2:11 PM, Villmow, Micah <Micah.Villmow at amd.com>
> wrote:
> > Attached a new patch.
> > I've added two new API's to the C api that allows querying of pointer
> size on a per address space basis and also allows generation of an
> integer that is sized for the various address spaces.
> > I also removed the FIXME's and as far as I can tell, all the places
> with '0' want the default address space.
>
> Did you see this comment?
>
> > Hmm... it looked like a lot of places what we were looking for is the
> > address of a code pointer, which is something specific (just not with
> > an associated function that returns an address-space).
> >
> > Some places, I agree, there isn't an alternative.
>
> -Eli
More information about the llvm-commits
mailing list