diff options
author | Chris Lattner <sabre@nondot.org> | 2012-06-01 18:19:46 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2012-06-01 18:19:46 +0000 |
commit | 2b76473929add5f48242416ce4409b0a17e662ca (patch) | |
tree | 42283484ad7221733ece388fc9a0a4d28ab4c9fc | |
parent | acee9e70566e6f3b901108a7557e283e368ab02c (diff) | |
download | external_llvm-2b76473929add5f48242416ce4409b0a17e662ca.zip external_llvm-2b76473929add5f48242416ce4409b0a17e662ca.tar.gz external_llvm-2b76473929add5f48242416ce4409b0a17e662ca.tar.bz2 |
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
-rw-r--r-- | test/CodeGen/X86/tailcall-64.ll | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/CodeGen/X86/tailcall-64.ll b/test/CodeGen/X86/tailcall-64.ll index 98e728c..7030753 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 +} + |