summaryrefslogtreecommitdiff
path: root/test/DebugInfo
diff options
context:
space:
mode:
authorJustin Holewinski <jholewinski@nvidia.com>2014-06-27 18:35:51 +0000
committerJustin Holewinski <jholewinski@nvidia.com>2014-06-27 18:35:51 +0000
commitcb8f98382be7361c94439f48ec9b297e4d70c49e (patch)
tree6d7106e3c82873d46121fbb09453a5a2fd92c80e /test/DebugInfo
parent899227441241fda27d9c9eaf9143d533fff75559 (diff)
downloadllvm-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/DebugInfo')
0 files changed, 0 insertions, 0 deletions