diff options
author | Justin Lebar <jlebar@google.com> | 2018-02-28 23:58:05 +0000 |
---|---|---|
committer | Justin Lebar <jlebar@google.com> | 2018-02-28 23:58:05 +0000 |
commit | faaf2d298e033bf8cdd130a124bfc2c74fe5f046 (patch) | |
tree | 557f3e582e84c6dcab61183f6ff5b5ac7f362e14 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 5a7de898d236e2b426e050ce51fb72e382eafa28 (diff) | |
download | bcm5719-llvm-faaf2d298e033bf8cdd130a124bfc2c74fe5f046.tar.gz bcm5719-llvm-faaf2d298e033bf8cdd130a124bfc2c74fe5f046.zip |
[NVPTX] Lower loads from global constants using ld.global.nc (aka LDG).
Summary:
After D43914, loads from global variables in addrspace(1) happen with
ld.global. But since they're constants, even better would be to use
ld.global.nc, aka ldg.
Reviewers: tra
Subscribers: jholewinski, sanjoy, hiraditya, llvm-commits
Differential Revision: https://reviews.llvm.org/D43915
llvm-svn: 326390
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions