[NVPTX] Emits "generic()" depending on the original address space
authorJingyue Wu <jingyue@google.com>
Fri, 24 Apr 2015 02:57:30 +0000 (02:57 +0000)
committerJingyue Wu <jingyue@google.com>
Fri, 24 Apr 2015 02:57:30 +0000 (02:57 +0000)
Summary:
Fixes a bug in the NVPTX codegen. The code used to miss necessary "generic()"
on aggregates of addrspacecasts.

Test Plan: addrspacecast-gvar.ll

Reviewers: eliben, jholewinski

Reviewed By: jholewinski

Subscribers: jholewinski, llvm-commits

Differential Revision: http://reviews.llvm.org/D9130

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@235689 91177308-0d34-0410-b5e6-96231b3b80d8


No differences found