summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/NVPTX/NVPTXLowerArgs.cpp
diff options
context:
space:
mode:
authorJustin Lebar <jlebar@google.com>2016-10-31 21:51:42 +0000
committerJustin Lebar <jlebar@google.com>2016-10-31 21:51:42 +0000
commited1e312f0522ef2f90402c2ab2053dbb085ddef2 (patch)
treecbb0187c6281bdde5dc61c46787e0ac2541eeca1 /llvm/lib/Target/NVPTX/NVPTXLowerArgs.cpp
parentb0de56b59d1fc77c05c52ab752dc784edf8256d7 (diff)
downloadbcm5719-llvm-ed1e312f0522ef2f90402c2ab2053dbb085ddef2.tar.gz
bcm5719-llvm-ed1e312f0522ef2f90402c2ab2053dbb085ddef2.zip
[NVPTX] Remove NVPTXFavorNonGenericAddrSpaces pass.
Summary: This has been replaced by the NVPTXInferAddressSpaces pass. We've had the new one as the default with the old one accessible via a flag for some months now, and we've had no problems. Reviewers: tra Subscribers: llvm-commits, jholewinski, jingyue, mgorny Differential Revision: https://reviews.llvm.org/D26165 llvm-svn: 285642
Diffstat (limited to 'llvm/lib/Target/NVPTX/NVPTXLowerArgs.cpp')
-rw-r--r--llvm/lib/Target/NVPTX/NVPTXLowerArgs.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/Target/NVPTX/NVPTXLowerArgs.cpp b/llvm/lib/Target/NVPTX/NVPTXLowerArgs.cpp
index 77fd9e19fc0..3f0c7be7863 100644
--- a/llvm/lib/Target/NVPTX/NVPTXLowerArgs.cpp
+++ b/llvm/lib/Target/NVPTX/NVPTXLowerArgs.cpp
@@ -47,7 +47,7 @@
// ...
// }
//
-// Later, NVPTXFavorNonGenericAddrSpaces will optimize it to
+// Later, NVPTXInferAddressSpaces will optimize it to
//
// define void @foo(float* %input) {
// %input2 = addrspacecast float* %input to float addrspace(1)*
@@ -85,8 +85,8 @@
// ; use %b_generic
// }
//
-// TODO: merge this pass with NVPTXFavorNonGenericAddrSpace so that other passes
-// don't cancel the addrspacecast pair this pass emits.
+// TODO: merge this pass with NVPTXInferAddressSpaces so that other passes don't
+// cancel the addrspacecast pair this pass emits.
//===----------------------------------------------------------------------===//
#include "NVPTX.h"
@@ -116,7 +116,7 @@ class NVPTXLowerArgs : public FunctionPass {
void handleByValParam(Argument *Arg);
// Knowing Ptr must point to the global address space, this function
// addrspacecasts Ptr to global and then back to generic. This allows
- // NVPTXFavorNonGenericAddrSpace to fold the global-to-generic cast into
+ // NVPTXInferAddressSpaces to fold the global-to-generic cast into
// loads/stores that appear later.
void markPointerAsGlobal(Value *Ptr);
OpenPOWER on IntegriCloud