[llvm-commits] First patch to add support for variable address spaces to optimizers

Eli Friedman eli.friedman at gmail.com
Wed Oct 10 15:57:58 PDT 2012


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