commit | 88e07a9d109af6a4775d9b23357bc962c28d5238 | [log] [tgz] |
---|---|---|
author | Reid Kleckner <rnk@google.com> | Thu Sep 08 15:45:27 2016 +0000 |
committer | Reid Kleckner <rnk@google.com> | Thu Sep 08 15:45:27 2016 +0000 |
tree | a514cc78f05d7005de45f6786408cd34c21f3a90 | |
parent | 1a53e071f46fc178826b5cf4d7b473717c99542d [diff] |
Remove restriction that 'sret' must be on the first parameter On Windows, it is often applied to the second parameter, and the x86 backend is prepared to deal with sret appearing on any parameter. Other backends assume it only appears on parameter zero, but those are target-specific requirements, and not an IR-level rule. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@280951 91177308-0d34-0410-b5e6-96231b3b80d8