testcase for PR13006, thanks to Duncan for filing it.
authorChris Lattner <sabre@nondot.org>
Fri, 1 Jun 2012 18:19:46 +0000 (18:19 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 1 Jun 2012 18:19:46 +0000 (18:19 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@157824 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/X86/tailcall-64.ll

index 98e728c909cafe83f03443fd7888141bb131bb53..70307534156e0c4fe1c2fa75cb50508df1e25346 100644 (file)
@@ -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
+}
+