diff options
author | Jingyue Wu <jingyue@google.com> | 2016-03-20 20:59:20 +0000 |
---|---|---|
committer | Jingyue Wu <jingyue@google.com> | 2016-03-20 20:59:20 +0000 |
commit | 1375560bdbad6f1e186965b778cbe1b2966bce7a (patch) | |
tree | 9a7ea7ac56446aa3a62a236e5bab77c726d3dde2 /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | 6fa3e599eacc238fe9b9e41f13ace2e63b2c6b7d (diff) | |
download | bcm5719-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