diff options
| author | Jay Foad <jay.foad@gmail.com> | 2012-05-01 11:11:34 +0000 |
|---|---|---|
| committer | Jay Foad <jay.foad@gmail.com> | 2012-05-01 11:11:34 +0000 |
| commit | 8fc810c2ef7e62833ab2023a42efe21156d77484 (patch) | |
| tree | b4728a83dc8c6b95722d815cd457663bb029d46a /llvm/test | |
| parent | 9a66002356c2f09d72746a0360f293b14d823c21 (diff) | |
| download | bcm5719-llvm-8fc810c2ef7e62833ab2023a42efe21156d77484.tar.gz bcm5719-llvm-8fc810c2ef7e62833ab2023a42efe21156d77484.zip | |
Regression test for PR2960.
llvm-svn: 155912
Diffstat (limited to 'llvm/test')
| -rw-r--r-- | llvm/test/CodeGen/SPARC/2012-05-01-LowerArguments.ll | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/SPARC/2012-05-01-LowerArguments.ll b/llvm/test/CodeGen/SPARC/2012-05-01-LowerArguments.ll new file mode 100644 index 00000000000..a607f109762 --- /dev/null +++ b/llvm/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 +} |

