summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/tailcall-64.ll
diff options
context:
space:
mode:
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
+}
+