summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorJingyue Wu <jingyue@google.com>2016-03-20 20:59:20 +0000
committerJingyue Wu <jingyue@google.com>2016-03-20 20:59:20 +0000
commit1375560bdbad6f1e186965b778cbe1b2966bce7a (patch)
tree9a7ea7ac56446aa3a62a236e5bab77c726d3dde2 /clang/lib/CodeGen/CodeGenFunction.cpp
parent6fa3e599eacc238fe9b9e41f13ace2e63b2c6b7d (diff)
downloadbcm5719-llvm-1375560bdbad6f1e186965b778cbe1b2966bce7a.tar.gz
bcm5719-llvm-1375560bdbad6f1e186965b778cbe1b2966bce7a.zip
[NVPTX] Adds a new address space inference pass.
Summary: The old address space inference pass (NVPTXFavorNonGenericAddrSpaces) is unable to convert the address space of a pointer induction variable. This patch adds a new pass called NVPTXInferAddressSpaces that overcomes that limitation using a fixed-point data-flow analysis (see the file header comments for details). The new pass is experimental and not enabled by default. Users can turn it on by setting the -nvptx-use-infer-addrspace flag of llc. Reviewers: jholewinski, tra, jlebar Subscribers: jholewinski, llvm-commits Differential Revision: http://reviews.llvm.org/D17965 llvm-svn: 263916
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud