summaryrefslogtreecommitdiffstats
path: root/llvm
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
commitb1359894f305029d8dec55e93676cedb096d148e (patch)
tree10d1103d05a540fc61b205c7c80c19674fde61ce /llvm
parentba896f17aefb7c4cfce7a4adcf7be9b1edf68c5f (diff)
downloadbcm5719-llvm-b1359894f305029d8dec55e93676cedb096d148e.tar.gz
bcm5719-llvm-b1359894f305029d8dec55e93676cedb096d148e.zip
testcase for PR13006, thanks to Duncan for filing it.
llvm-svn: 157824
Diffstat (limited to 'llvm')
-rw-r--r--llvm/test/CodeGen/X86/tailcall-64.ll7
1 files changed, 7 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/X86/tailcall-64.ll b/llvm/test/CodeGen/X86/tailcall-64.ll
index 98e728c909c..70307534156 100644
--- a/llvm/test/CodeGen/X86/tailcall-64.ll
+++ b/llvm/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
+}
+
OpenPOWER on IntegriCloud