[LLVMdev] addrspace attribute and intrisics
Chris Lattner
sabre at nondot.org
Thu Jul 3 10:11:41 PDT 2008
On Thu, 3 Jul 2008, Benedict Gaster wrote:
> I am slightly unclear about the semantics of the addrspace attribute and
> there use with intrinsics. For example, is the following code valid:
>
> % ptr = malloc i32 addrspace(11)
> % result = call i32 @llvm.atomic.load.add.i32( i32 addrspace(11)* %ptr,
> i32 4);
>
> If this is valid it means that a certain amount of type information is lost
> at the LLVM IL level and if it is not valid, then it is impossible to use any
> of the built-in functions for anything other than the default address space.
That is not currently supported, but Mon Ping is working on it (as I
understand). Mon Ping, are you still working on this? If so, what is the
status?
-Chris
--
http://nondot.org/sabre/
http://llvm.org/
More information about the llvm-dev
mailing list