From 2b76473929add5f48242416ce4409b0a17e662ca Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 1 Jun 2012 18:19:46 +0000 Subject: 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 --- test/CodeGen/X86/tailcall-64.ll | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'test/CodeGen/X86/tailcall-64.ll') 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 +} + -- cgit v1.2.3