HomePhabricator

[ABI] Fix SystemV ABI to handle nested aggregate type returned in register

Authored by xiaobai on Jun 4 2019, 12:29 PM.

Description

[ABI] Fix SystemV ABI to handle nested aggregate type returned in register

Add a function to flatten the nested aggregate type

Differential Revision: https://reviews.llvm.org/D62702

Patch by Wanyi Ye <kusmour@gmail.com>

llvm-svn: 362543