summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/tailcall-64.ll
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2012-06-01 18:19:46 +0000
committerChris Lattner <sabre@nondot.org>2012-06-01 18:19:46 +0000
commit2b76473929add5f48242416ce4409b0a17e662ca (patch)
tree42283484ad7221733ece388fc9a0a4d28ab4c9fc /test/CodeGen/X86/tailcall-64.ll
parentacee9e70566e6f3b901108a7557e283e368ab02c (diff)
downloadllvm-2b76473929add5f48242416ce4409b0a17e662ca.tar.gz
llvm-2b76473929add5f48242416ce4409b0a17e662ca.tar.bz2
llvm-2b76473929add5f48242416ce4409b0a17e662ca.tar.xz
testcase for PR13006, thanks to Duncan for filing it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@157824 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/tailcall-64.ll')
-rw-r--r--test/CodeGen/X86/tailcall-64.ll7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/CodeGen/X86/tailcall-64.ll b/test/CodeGen/X86/tailcall-64.ll
index 98e728c909..7030753415 100644
--- a/test/CodeGen/X86/tailcall-64.ll
+++ b/test/CodeGen/X86/tailcall-64.ll
@@ -86,4 +86,11 @@ define {i8*, i64} @test_pair_conv_extract() {
+; PR13006
+define { i64, i64 } @crash(i8* %this) {
+ %c = tail call { i64, i64 } @testp()
+ %mrv7 = insertvalue { i64, i64 } %c, i64 undef, 1
+ ret { i64, i64 } %mrv7
+}
+