[Hexagon] Handle returning small structures by value
authorKrzysztof Parzyszek <kparzysz@codeaurora.org>
Mon, 18 Jul 2016 17:30:41 +0000 (17:30 +0000)
committerKrzysztof Parzyszek <kparzysz@codeaurora.org>
Mon, 18 Jul 2016 17:30:41 +0000 (17:30 +0000)
commit5948ea78b9c157aa41168f6ca10381465e072acf
tree04bc054f4030b7da5dd3409426360efee2eafbbd
parent9d5c55e4f6d86eebaed4b5088b13dee16b9a7506
[Hexagon] Handle returning small structures by value

This is compliant with the official ABI, but allows experimentation with
calling conventions.

llvm-svn: 275822
llvm/lib/Target/Hexagon/HexagonISelLowering.cpp
llvm/test/CodeGen/Hexagon/ret-struct-by-val.ll [new file with mode: 0644]