[LLVMdev] Address Space Casting

Michele Scandale michele.scandale at gmail.com
Tue Sep 10 05:58:38 PDT 2013


Hello to everybody,

I am writing this mail to inform you about a patch that will be committed soon
(respect to current reviews).

Here the link to the first mail in llvm-commits:
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20130812/184422.html

This patch introduces a new IR instruction named 'addrspacecast' that will be
used to represent the casting operation between pointers of different address
spaces. This instruction will represent whatever kind of conversion (potentially
both value and size of the pointer) and the semantic of the conversion between a
pair of address spaces is target specific.

With this patch 'bitcast' will be allowed to convert pointers within the same
address space.

Thanks in advance for the attention.

Best regards,
-Michele



More information about the llvm-dev mailing list