diff options
author | Arnold Schwaighofer <aschwaighofer@apple.com> | 2017-02-09 01:52:17 +0000 |
---|---|---|
committer | Arnold Schwaighofer <aschwaighofer@apple.com> | 2017-02-09 01:52:17 +0000 |
commit | 26f016f1433ca134fd85c53f9283546ff6f3ce54 (patch) | |
tree | 76577c22ac474ae058e323f0064a6317fb68a8ef /llvm/lib/Object/ArchiveWriter.cpp | |
parent | 58c90c0c802aba4ede56cb624c87e97c9a01349b (diff) | |
download | llvm-26f016f1433ca134fd85c53f9283546ff6f3ce54.zip llvm-26f016f1433ca134fd85c53f9283546ff6f3ce54.tar.gz llvm-26f016f1433ca134fd85c53f9283546ff6f3ce54.tar.bz2 |
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
llvm-svn: 294551
Diffstat (limited to 'llvm/lib/Object/ArchiveWriter.cpp')
0 files changed, 0 insertions, 0 deletions