OSDN Git Service

Fix for PR19099 - NVPTX produces invalid symbol names.
authorEli Bendersky <eliben@google.com>
Mon, 31 Mar 2014 15:56:26 +0000 (15:56 +0000)
committerEli Bendersky <eliben@google.com>
Mon, 31 Mar 2014 15:56:26 +0000 (15:56 +0000)
commit416a0e993f4ec93285b59f6af698a7edb5c5535f
tree4fe9bfca432308899cebc0f587ab0c10fdc91066
parent93b3fcae2832c381a7790b04fddcafe83d7003a7
Fix for PR19099 - NVPTX produces invalid symbol names.

This is a more thorough fix for the issue than r203483. An IR pass will run
before NVPTX codegen to make sure there are no invalid symbol names that can't
be consumed by the ptxas assembler.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205212 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/NVPTX/CMakeLists.txt
lib/Target/NVPTX/NVPTX.h
lib/Target/NVPTX/NVPTXAssignValidGlobalNames.cpp [new file with mode: 0644]
lib/Target/NVPTX/NVPTXTargetMachine.cpp
test/CodeGen/NVPTX/symbol-naming.ll