Oleg Ranevskyy 7232f66051 [CodeGen] Clang does not choose aapcs-vfp calling convention for ARM bare metal target with hard float (EABIHF)
Summary:
Clang does not detect `aapcs-vfp` for the EABIHF environment. The reason is that only GNUEABIHF is considered while choosing calling convention, EABIHF is ignored.

This causes clang to use `aapcs` for EABIHF and add the `arm_aapcscc` specifier to functions in generated IR.

The modified `arm-cc.c` test checks that no calling convention specifier is added to functions for EABIHF, which means the default one is used (`CallingConv::ARM_AAPCS_VFP`).

Reviewers: rengolin, compnerd, t.p.northover

Subscribers: aemerson, rengolin, asl, cfe-commits

Differential Revision: http://reviews.llvm.org/D20219

llvm-svn: 269419
2016-05-13 14:45:57 +00:00
..
2016-04-04 23:14:14 +00:00
2013-01-31 23:17:12 +00:00
2016-02-19 06:54:47 +00:00
2015-11-02 19:32:23 +00:00
2014-10-02 20:53:50 +00:00
2014-10-02 20:53:50 +00:00
2015-11-07 00:48:18 +00:00
2016-04-28 14:13:28 +00:00
2016-03-07 14:22:46 +00:00
2015-09-14 21:27:36 +00:00
2013-12-13 19:44:40 +00:00
2016-04-19 20:51:00 +00:00
2015-01-24 17:39:36 +00:00
2016-02-20 09:23:41 +00:00
2016-02-20 09:23:41 +00:00
2014-05-20 17:12:51 +00:00
2016-04-11 07:48:59 +00:00
2015-08-11 00:19:54 +00:00
2016-05-04 23:37:40 +00:00
2013-03-13 22:44:19 +00:00
2013-01-31 23:17:12 +00:00
2015-09-17 20:55:33 +00:00
2013-01-24 23:34:51 +00:00
2016-01-28 22:56:41 +00:00
2013-07-04 14:51:11 +00:00
2013-07-03 01:43:57 +00:00
2015-07-27 19:49:54 +00:00
2013-02-25 18:19:32 +00:00
2013-01-24 23:29:37 +00:00
2015-01-24 17:39:36 +00:00
2015-01-24 17:39:36 +00:00
2014-08-14 15:14:51 +00:00