[PATCH] Change how address spaces are mangled

Benyei, Guy guy.benyei at intel.com
Wed Feb 6 01:09:00 PST 2013


Hi Tanya,
The patch looks good to me.

Thanks
    Guy Benyei


-----Original Message-----
From: cfe-commits-bounces at cs.uiuc.edu [mailto:cfe-commits-bounces at cs.uiuc.edu] On Behalf Of Tanya Lattner
Sent: Tuesday, February 05, 2013 20:18
To: cfe-commits at cs.uiuc.edu
Subject: Re: [PATCH] Change how address spaces are mangled

Ping.

Anyone opposed to this?

-Tanya

On Jan 30, 2013, at 2:41 PM, Tanya Lattner <lattner at apple.com> wrote:

> Attached is a patch to change how address spaces are mangled. 
> 
> Currently, if you specify local, global, or constant OpenCL address spaces you get some strange numbers printed in the mangled name which correspond to the values in LangAs for opencl_constant, opencl_local, and opencl_global. I believe it makes more sense to mangle based upon the real address space values that are defined by the target. It makes it easier to understand what the address spaces of the arguments to a function really are. I've included a test case for both the OpenCL case and if someone used the attribute in C++ as well.
> 
> Please review.
> 
> Thanks,
> Tanya
> 
> <addrSpaceMangle.patch>_______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

_______________________________________________
cfe-commits mailing list
cfe-commits at cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
---------------------------------------------------------------------
Intel Israel (74) Limited

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.





More information about the cfe-commits mailing list