[PATCH] D17965: [NVPTX] Adds a new address space inference pass.
Jingyue Wu via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 8 11:07:42 PST 2016
jingyue created this revision.
jingyue added reviewers: jholewinski, jlebar, tra.
jingyue added a subscriber: llvm-commits.
Herald added a subscriber: jholewinski.
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.
http://reviews.llvm.org/D17965
Files:
lib/Target/NVPTX/CMakeLists.txt
lib/Target/NVPTX/NVPTX.h
lib/Target/NVPTX/NVPTXFavorNonGenericAddrSpaces.cpp
lib/Target/NVPTX/NVPTXInferAddressSpaces.cpp
lib/Target/NVPTX/NVPTXTargetMachine.cpp
test/CodeGen/NVPTX/access-non-generic.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D17965.50059.patch
Type: text/x-patch
Size: 34886 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160308/cc2d71b1/attachment.bin>
More information about the llvm-commits
mailing list