commit | f9b31cf6f599d35fcacb59c48fdbe8ad0fb452a9 | [log] [tgz] |
---|---|---|
author | Arnold Schwaighofer <aschwaighofer@apple.com> | Thu Feb 09 01:52:17 2017 +0000 |
committer | Arnold Schwaighofer <aschwaighofer@apple.com> | Thu Feb 09 01:52:17 2017 +0000 |
tree | fd7b77b5aedbb0939274e7d1b4597308be266a19 | |
parent | 5a50fd8010ccd782dbc613334e23df4ab0dc84df [diff] |
SwiftCC: swifterror register cannot be as the base register Functions that have a dynamic alloca require a base register which is defined to be X19 on AArch64 and r6 on ARM. We have defined the swifterror register to be the same register. Use a different callee save register for swifterror instead: X21 on AArch64 R8 on ARM rdar://30433803 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@294551 91177308-0d34-0410-b5e6-96231b3b80d8