[NVPTX] Added run NVVMReflect pass to NVPTX back-end.
authorArtem Belevich <tra@google.com>
Tue, 8 Sep 2015 21:04:55 +0000 (21:04 +0000)
committerArtem Belevich <tra@google.com>
Tue, 8 Sep 2015 21:04:55 +0000 (21:04 +0000)
commitd049b69952d0ad8349c388dee55104a4b137474a
tree2b2898f71159bbd7bf7a8765be4db55e5f6ba29e
parent484f98f066e98c897918377045b9746094513688
[NVPTX] Added run NVVMReflect pass to NVPTX back-end.

The pass is needed to remove __nvvm_reflect calls when we link in
libdevice bitcode that comes with CUDA.

Differential Revision: http://reviews.llvm.org/D11663

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@247072 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/NVPTX/NVPTXTargetMachine.cpp