summaryrefslogtreecommitdiffstats
path: root/llvm/docs/NVPTXUsage.rst
diff options
context:
space:
mode:
authorJustin Lebar <jlebar@google.com>2016-03-30 20:40:11 +0000
committerJustin Lebar <jlebar@google.com>2016-03-30 20:40:11 +0000
commite3804cc932d0288bf4573f27a2654270a2f60987 (patch)
tree47972e4dfacee7f38258359565fe0bc56201dd85 /llvm/docs/NVPTXUsage.rst
parent2fe132311205aa143f976c4922891a40d87583c3 (diff)
downloadbcm5719-llvm-e3804cc932d0288bf4573f27a2654270a2f60987.tar.gz
bcm5719-llvm-e3804cc932d0288bf4573f27a2654270a2f60987.zip
[NVPTX] Make NVVMReflect a function pass.
Summary: Currently it's a module pass. Make it a function pass so that we can move it to PassManagerBuilder's EP_EarlyAsPossible extension point, which only accepts function passes. Reviewers: rnk Subscribers: tra, llvm-commits, jholewinski Differential Revision: http://reviews.llvm.org/D18615 llvm-svn: 264919
Diffstat (limited to 'llvm/docs/NVPTXUsage.rst')
-rw-r--r--llvm/docs/NVPTXUsage.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/docs/NVPTXUsage.rst b/llvm/docs/NVPTXUsage.rst
index 71acb0c79fc..f4b54cf0445 100644
--- a/llvm/docs/NVPTXUsage.rst
+++ b/llvm/docs/NVPTXUsage.rst
@@ -361,7 +361,7 @@ With programmatic pass pipeline:
.. code-block:: c++
- extern ModulePass *llvm::createNVVMReflectPass(const StringMap<int>& Mapping);
+ extern FunctionPass *llvm::createNVVMReflectPass(const StringMap<int>& Mapping);
StringMap<int> ReflectParams;
ReflectParams["__CUDA_FTZ"] = 1;
OpenPOWER on IntegriCloud