aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorJustin Bogner <mail@justinbogner.com>2015-11-13 23:05:46 +0000
committerJustin Bogner <mail@justinbogner.com>2015-11-13 23:05:46 +0000
commitfff708db923499ee5db932b2d440aa12b5a4ed5c (patch)
tree4b57ac8ff5caae4da055fd488ded686e75885ce6 /clang/lib/CodeGen/CodeGenFunction.cpp
parenta2c156edad38040fc7836208967d067c8ad798b1 (diff)
downloadllvm-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