[llvm-commits] Intrinsic address space patch
Mon P Wang
wangmp at apple.com
Thu Jul 17 15:56:56 PDT 2008
Here is a patch to enable intrinsic to have pointers to different
address spaces. This changes overloaded intrinsics with pointer
arguments to pass also an address space as part of their name.
For example, atomic.load.add.i32 => atomic.load.add.i32.p0i32
The above syntax indicates that the result is i32 with a pointer
argument to address space 0 (generic address space) whose domain type
is i32. The patch here doesn't include the documentation change but
that will be included as part of the checkin. Let me know if you have
any comments.
-- Mon Ping
-------------- next part --------------
A non-text attachment was scrubbed...
Name: addrspace.patch
Type: application/octet-stream
Size: 11958 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20080717/f26a81be/attachment.obj>
More information about the llvm-commits
mailing list