diff options
author | Justin Bogner <mail@justinbogner.com> | 2015-11-13 23:05:46 +0000 |
---|---|---|
committer | Justin Bogner <mail@justinbogner.com> | 2015-11-13 23:05:46 +0000 |
commit | fff708db923499ee5db932b2d440aa12b5a4ed5c (patch) | |
tree | 4b57ac8ff5caae4da055fd488ded686e75885ce6 /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | a2c156edad38040fc7836208967d067c8ad798b1 (diff) | |
download | llvm-fff708db923499ee5db932b2d440aa12b5a4ed5c.zip llvm-fff708db923499ee5db932b2d440aa12b5a4ed5c.tar.gz llvm-fff708db923499ee5db932b2d440aa12b5a4ed5c.tar.bz2 |
AArch64: Default AArch64Subtarget::ReserveX18 to true on darwin
Darwin reserves x18, so it's never ABI compliant to generate code that
uses it. Set the default value based on the OS part of the triple
rather than forcing front-ends to set the +reserve-x18 target feature
in order to build correct code for Darwin.
This will make r243310 redundant, so I'll revert that shortly.
llvm-svn: 253102
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions