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 | b926d9d446f2b08fb4fb5905b8f92e1bad872ac8 (patch) | |
tree | a8aed5aef8be2bd630cb7e2a68466df9991208da /llvm/lib/Support/ToolOutputFile.cpp | |
parent | 6e40f63e419f5a558d00cc771922239f6ee52169 (diff) | |
download | bcm5719-llvm-b926d9d446f2b08fb4fb5905b8f92e1bad872ac8.tar.gz bcm5719-llvm-b926d9d446f2b08fb4fb5905b8f92e1bad872ac8.zip |
[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}
llvm-svn: 211939
Diffstat (limited to 'llvm/lib/Support/ToolOutputFile.cpp')
0 files changed, 0 insertions, 0 deletions