summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGCXX.cpp
diff options
context:
space:
mode:
authorMichael Kuperstein <michael.m.kuperstein@intel.com>2015-12-28 14:39:54 +0000
committerMichael Kuperstein <michael.m.kuperstein@intel.com>2015-12-28 14:39:54 +0000
commitf3163dc4611fdd5a8480fee2511e20f882827627 (patch)
tree354c5ecc0c14d409c2208ba2137ab7e539566de2 /clang/lib/CodeGen/CGCXX.cpp
parent2ea81baf3a375b061b95b2de07828640a7b66989 (diff)
downloadbcm5719-llvm-f3163dc4611fdd5a8480fee2511e20f882827627.tar.gz
bcm5719-llvm-f3163dc4611fdd5a8480fee2511e20f882827627.zip
[X86] Better support for the MCU psABI (clang 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/D15055 llvm-svn: 256495
Diffstat (limited to 'clang/lib/CodeGen/CGCXX.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud