summaryrefslogtreecommitdiff
path: root/test/CodeGen/SPARC/2012-05-01-LowerArguments.ll
diff options
context:
space:
mode:
authorJay Foad <jay.foad@gmail.com>2012-05-01 11:11:34 +0000
committerJay Foad <jay.foad@gmail.com>2012-05-01 11:11:34 +0000
commit4ab6fcaadc55f7e6734925036f842d1ebd68fa89 (patch)
treef495b86197a4e90fa901e72a717f90a173bb1cf3 /test/CodeGen/SPARC/2012-05-01-LowerArguments.ll
parent030a3415b0ddd15c532e37892bd7ebdbef8a35b6 (diff)
downloadllvm-4ab6fcaadc55f7e6734925036f842d1ebd68fa89.tar.gz
llvm-4ab6fcaadc55f7e6734925036f842d1ebd68fa89.tar.bz2
llvm-4ab6fcaadc55f7e6734925036f842d1ebd68fa89.tar.xz
Regression test for PR2960.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155912 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/SPARC/2012-05-01-LowerArguments.ll')
-rw-r--r--test/CodeGen/SPARC/2012-05-01-LowerArguments.ll13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/CodeGen/SPARC/2012-05-01-LowerArguments.ll b/test/CodeGen/SPARC/2012-05-01-LowerArguments.ll
new file mode 100644
index 0000000000..a607f10976
--- /dev/null
+++ b/test/CodeGen/SPARC/2012-05-01-LowerArguments.ll
@@ -0,0 +1,13 @@
+; Just check that this doesn't crash:
+; RUN: llc < %s
+; PR2960
+
+target datalayout = "E-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-f128:128:128"
+target triple = "sparc-unknown-linux-gnu"
+ %"5tango4core9Exception11IOException" = type { [5 x i8*]*, i8*, { i64, i8* }, { i64, i8* }, i64, %"6Object7Monitor"*, %"5tango4core9Exception11IOException"* }
+ %"6Object7Monitor" = type { [3 x i8*]*, i8* }
+
+define fastcc %"5tango4core9Exception11IOException"* @_D5tango4core9Exception13TextException5_ctorMFAaZC5tango4core9Exception13TextException(%"5tango4core9Exception11IOException"* %this, { i64, i8* } %msg) {
+entry_tango.core.Exception.TextException.this:
+ unreachable
+}