diff options
author | Justin Holewinski <jholewinski@nvidia.com> | 2014-06-27 18:35:51 +0000 |
---|---|---|
committer | Justin Holewinski <jholewinski@nvidia.com> | 2014-06-27 18:35:51 +0000 |
commit | cb8f98382be7361c94439f48ec9b297e4d70c49e (patch) | |
tree | 6d7106e3c82873d46121fbb09453a5a2fd92c80e /test/FileCheck | |
parent | 899227441241fda27d9c9eaf9143d533fff75559 (diff) | |
download | llvm-cb8f98382be7361c94439f48ec9b297e4d70c49e.tar.gz llvm-cb8f98382be7361c94439f48ec9b297e4d70c49e.tar.bz2 llvm-cb8f98382be7361c94439f48ec9b297e4d70c49e.tar.xz |
[NVPTX] Fix handling of ldg/ldu intrinsics.
The address space of the pointer must be global (1) for these intrinsics. There must also be alignment metadata attached to the intrinsic calls, e.g.
%val = tail call i32 @llvm.nvvm.ldu.i.global.i32.p1i32(i32 addrspace(1)* %ptr), !align !0
!0 = metadata !{i32 4}
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211939 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/FileCheck')
0 files changed, 0 insertions, 0 deletions