diff options
author | Justin Holewinski <jholewinski@nvidia.com> | 2012-12-05 20:50:28 +0000 |
---|---|---|
committer | Justin Holewinski <jholewinski@nvidia.com> | 2012-12-05 20:50:28 +0000 |
commit | 2f1086137dbabad072c98bd4d8dab15525ca4991 (patch) | |
tree | f85e32b4c355fb211c031b62cabf1db9bb19efd9 /test/CodeGen/NVPTX/tuple-literal.ll | |
parent | eef7b6219ebe5d0ded0be4adb3003055fa8a63c4 (diff) | |
download | external_llvm-2f1086137dbabad072c98bd4d8dab15525ca4991.zip external_llvm-2f1086137dbabad072c98bd4d8dab15525ca4991.tar.gz external_llvm-2f1086137dbabad072c98bd4d8dab15525ca4991.tar.bz2 |
[NVPTX] Fix crash with unnamed struct arguments
Patch by Eric Holk
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169418 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/NVPTX/tuple-literal.ll')
-rw-r--r-- | test/CodeGen/NVPTX/tuple-literal.ll | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/CodeGen/NVPTX/tuple-literal.ll b/test/CodeGen/NVPTX/tuple-literal.ll new file mode 100644 index 0000000..5c0cb2c --- /dev/null +++ b/test/CodeGen/NVPTX/tuple-literal.ll @@ -0,0 +1,5 @@ +; RUN: llc < %s -march=nvptx -mcpu=sm_13 + +define ptx_device void @test_function({i8, i8}*) { + ret void +} |