Skip to content
  • Christopher Lamb's avatar
    Implement address space attribute for LLVM pointer types. Address spaces are · 54dd24c2
    Christopher Lamb authored
    regions of memory that have a target specific relationship, as described in the 
    Embedded C Technical Report. 
    
    This also implements the 2007-12-11-AddressSpaces test, 
    which demonstrates how address space attributes can be used in LLVM IR.
    
    In addition, this patch changes the bitcode signature for stores (in a backwards 
    compatible manner), such that the pointer type, rather than the pointee type, is 
    encoded. This permits type information in the pointer (e.g. address space) to be 
    preserved for stores.
    
    LangRef updates are forthcoming.
    
    llvm-svn: 44858
    54dd24c2
Loading