summaryrefslogtreecommitdiff
path: root/gnu/llvm/lib/Target/NVPTX/NVPTXInferAddressSpaces.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/llvm/lib/Target/NVPTX/NVPTXInferAddressSpaces.cpp')
-rw-r--r--gnu/llvm/lib/Target/NVPTX/NVPTXInferAddressSpaces.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/gnu/llvm/lib/Target/NVPTX/NVPTXInferAddressSpaces.cpp b/gnu/llvm/lib/Target/NVPTX/NVPTXInferAddressSpaces.cpp
index f4940c937a2..e451d273cf4 100644
--- a/gnu/llvm/lib/Target/NVPTX/NVPTXInferAddressSpaces.cpp
+++ b/gnu/llvm/lib/Target/NVPTX/NVPTXInferAddressSpaces.cpp
@@ -87,6 +87,9 @@
// Finally, it fixes the undef in %y' so that
// %y' = phi float addrspace(3)* [ %input, %y2' ]
//
+// TODO: This pass is experimental and not enabled by default. Users can turn it
+// on by setting the -nvptx-use-infer-addrspace flag of llc. We plan to replace
+// NVPTXNonFavorGenericAddrSpaces with this pass shortly.
//===----------------------------------------------------------------------===//
#define DEBUG_TYPE "nvptx-infer-addrspace"