[NVPTX] Switch nvptx-use-infer-addrspace to true.
authorJustin Lebar <jlebar@google.com>
Fri, 19 Aug 2016 20:46:45 +0000 (20:46 +0000)
committerJustin Lebar <jlebar@google.com>
Fri, 19 Aug 2016 20:46:45 +0000 (20:46 +0000)
commitd13880a75011b20ffd4b011643901865b494da22
tree4a07a2be11b7faad23303dd85806925d658ee7d3
parentb03a71eea815e20bfa0c9dd0833ce8d1ebff3f62
[NVPTX] Switch nvptx-use-infer-addrspace to true.

Summary:
This switches us to use a different, more powerful algorithm for address
space inference.  I've tested this locally and it seems to work great.
Once we're more confident in it, we can remove the old pass altogether.

Reviewers: jingyue

Subscribers: llvm-commits, tra, jholewinski

Differential Revision: https://reviews.llvm.org/D23694

llvm-svn: 279317
llvm/lib/Target/NVPTX/NVPTXInferAddressSpaces.cpp
llvm/lib/Target/NVPTX/NVPTXTargetMachine.cpp
llvm/test/CodeGen/NVPTX/access-non-generic.ll
llvm/test/CodeGen/NVPTX/addrspacecast.ll