summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/TargetInfo.cpp
diff options
context:
space:
mode:
authorMichael Kuperstein <michael.m.kuperstein@intel.com>2015-12-28 14:39:21 +0000
committerMichael Kuperstein <michael.m.kuperstein@intel.com>2015-12-28 14:39:21 +0000
commit2ea81baf3a375b061b95b2de07828640a7b66989 (patch)
tree250faf9a08dba32bcbd4d4028ecbc99665ecba69 /clang/lib/CodeGen/TargetInfo.cpp
parent175a7cbf3f94512fd6cf05e9fd597fb7360d9561 (diff)
downloadbcm5719-llvm-2ea81baf3a375b061b95b2de07828640a7b66989.tar.gz
bcm5719-llvm-2ea81baf3a375b061b95b2de07828640a7b66989.zip
[X86] Better support for the MCU psABI (LLVM part)
This adds support for the MCU psABI in a way different from r251223 and r251224, basically reverting most of these two patches. The problem with the approach taken in r251223/4 is that it only handled libcalls that originated from the backend. However, the mid-end also inserts quite a few libcalls and assumes these use the platform's default calling convention. The previous patch tried to insert inregs when necessary both in the FE and, somewhat hackily, in the CG. Instead, we now define a new default calling convention for the MCU, which doesn't use inreg marking at all, similarly to what x86-64 does. Differential Revision: http://reviews.llvm.org/D15054 llvm-svn: 256494
Diffstat (limited to 'clang/lib/CodeGen/TargetInfo.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud