[llvm-dev] [RFC] BasicAA considers address spaces?

Matt Arsenault via llvm-dev llvm-dev at lists.llvm.org
Fri Aug 7 18:21:27 PDT 2015


On 08/07/2015 06:13 PM, Hal Finkel wrote:
> But you seem to be implying that you'll use different address spaces 
> at the IR level, but that these address spaces will be changed prior 
> to the target seeing them? Or that the target will internally map them 
> all to address space 0 (instead of aborting). If the target knows to 
> do this mapping, it can also understand the aliasing, no?

clang performs the mapping from source address space to target address 
space. See AddrSpaceMap in clang's TargetInfo


More information about the llvm-dev mailing list