diff options
author | Yaxun Liu <Yaxun.Liu@amd.com> | 2017-11-16 16:32:16 +0000 |
---|---|---|
committer | Yaxun Liu <Yaxun.Liu@amd.com> | 2017-11-16 16:32:16 +0000 |
commit | 35ad126c78c97fff20f10657e11948fac50b7831 (patch) | |
tree | 4249fe0c48b91b7c848a293755d4d581e72d4bea /docs | |
parent | 4a2948db03fbfcbed0916017ac5a7274d9d2dec4 (diff) |
Let llvm.invariant.group.barrier accepts pointer to any address space
llvm.invariant.group.barrier may accept pointers to arbitrary address space.
This patch let it accept pointers to i8 in any address space and returns
pointer to i8 in the same address space.
Differential Revision: https://reviews.llvm.org/D39973
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@318413 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs')
-rw-r--r-- | docs/LangRef.rst | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/LangRef.rst b/docs/LangRef.rst index b097230591f..a091cc1dd2a 100644 --- a/docs/LangRef.rst +++ b/docs/LangRef.rst @@ -12817,10 +12817,13 @@ This intrinsic indicates that the memory is mutable again. Syntax: """"""" +This is an overloaded intrinsic. The memory object can belong to any address +space. The returned pointer must belong to the same address space as the +argument. :: - declare i8* @llvm.invariant.group.barrier(i8* <ptr>) + declare i8* @llvm.invariant.group.barrier.p0i8(i8* <ptr>) Overview: """"""""" |