llvm-6502/test
Jingyue Wu 81fb217d91 [NVPTX] kernel pointer arguments point to the global address space
Summary:
With this patch, NVPTXLowerKernelArgs converts a kernel pointer argument to a
pointer in the global address space. This change, along with
NVPTXFavorNonGenericAddrSpaces, allows the NVPTX backend to emit ld.global.*
and st.global.* for accessing kernel pointer arguments.

Minor changes:
1. refactor: extract function convertToPointerInAddrSpace
2. fix a bug in the test case in bug21465.ll

Test Plan: lower-kernel-ptr-arg.ll

Reviewers: eliben, meheff, jholewinski

Reviewed By: jholewinski

Subscribers: wengxt, jholewinski, llvm-commits

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@239082 91177308-0d34-0410-b5e6-96231b3b80d8
2015-06-04 20:19:38 +00:00
..
Analysis
Assembler Make the test introduced in r239015 more targeted. 2015-06-04 07:21:42 +00:00
Bindings
Bitcode [BitcodeReader] Diagnose type mismatches with aliases 2015-06-03 01:30:13 +00:00
BugPoint
CodeGen [NVPTX] kernel pointer arguments point to the global address space 2015-06-04 20:19:38 +00:00
DebugInfo Improve test added in r238481. 2015-06-03 22:36:17 +00:00
ExecutionEngine Re-commit r238838, r238844 with fix for host/target endian mismatch and windows buildbot. 2015-06-03 10:27:28 +00:00
Feature
FileCheck
Instrumentation
Integer
JitListener
Linker
LTO
MC Omit unused section symbols from the symbol table. 2015-06-04 15:33:30 +00:00
Object [Object, MachO] Don't crash on invalid MachO segment load commands. 2015-06-04 20:08:52 +00:00
Other
SymbolRewriter
TableGen
tools Fix buildbot failure on Windows by relaxing test expectations. 2015-06-04 19:22:00 +00:00
Transforms Make the test introduced in r239015 more targeted. 2015-06-04 07:21:42 +00:00
Unit
Verifier
YAMLParser
.clang-format
CMakeLists.txt
lit.cfg
lit.site.cfg.in
Makefile
Makefile.tests
TestRunner.sh