[LLVMdev] named address spaces
    Chris Lattner 
    clattner at apple.com
       
    Fri Oct 16 13:34:10 PDT 2009
    
    
  
On Oct 16, 2009, at 1:22 PM, Juan Carlos Martinez Santos wrote:
> Hello,
>
> If my understand is correct, LLVM supports the address_space  
> qualifier; however, how I can add custom address spaces. Where I can  
> declare them? For clang (x86), I saw that address spaces #256 and  
> #257 works well (I see the generated code with the 'gs' and 'fs'),  
> but when I select different ones, I don't see any different.
>
Address spaces are target specific.  The 256/257 address spaces on x86  
are implemented in the X86 backend, for example.
-Chris
    
    
More information about the llvm-dev
mailing list