[AVR] Add a regression test for struct return lowering
authorDylan McKay <me@dylanmckay.io>
Tue, 20 Mar 2018 11:23:03 +0000 (11:23 +0000)
committerDylan McKay <me@dylanmckay.io>
Tue, 20 Mar 2018 11:23:03 +0000 (11:23 +0000)
commit212841b7ad0b61b1386def50013d251a5fb0a9f9
tree6bf0a73d465d0a5ad03c74d213428609dcb977c6
parentceecf3bbda59776198d8f650bb97cca453efc885
[AVR] Add a regression test for struct return lowering

The test is taken from
https://github.com/avr-rust/rust/issues/57

The originally implementation of struct return lowering was made in
r325474.

Patch by Peter Nimmervoll

llvm-svn: 327967
llvm/test/CodeGen/AVR/lower-formal-args-struct-return.ll [new file with mode: 0644]