summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorJustin Lebar <jlebar@google.com>2018-02-28 23:57:48 +0000
committerJustin Lebar <jlebar@google.com>2018-02-28 23:57:48 +0000
commit5a7de898d236e2b426e050ce51fb72e382eafa28 (patch)
tree982bad855deb78c82eaabf268ce5121fc7f4fffb /clang/lib/CodeGen/CodeGenModule.cpp
parent285271cb78f449f211bec34b4e954153feb0add9 (diff)
downloadbcm5719-llvm-5a7de898d236e2b426e050ce51fb72e382eafa28.tar.gz
bcm5719-llvm-5a7de898d236e2b426e050ce51fb72e382eafa28.zip
[NVPTX] Use addrspacecast instead of target-specific intrinsics in NVPTXGenericToNVVM.
Summary: NVPTXGenericToNVVM was using target-specific intrinsics to do address space casts. Using the addrspacecast instruction is (a lot) simpler. But it also has the advantage of being understandable to other passes. In particular, InferAddrSpaces is able to understand these address space casts and remove them in most cases. Reviewers: tra Subscribers: jholewinski, sanjoy, hiraditya, llvm-commits Differential Revision: https://reviews.llvm.org/D43914 llvm-svn: 326389
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud