llvm-project/clang/test
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
..
ARCMT Define weak and __weak to mean ARC-style weak references, even in MRC. 2015-10-22 18:38:17 +00:00
ASTMerge [ASTImporter] Implement missing VisitAccessSpecDecl function in ASTImporter class. 2016-02-18 23:08:36 +00:00
Analysis [analyzer] Fix crash in ObjCGenericsChecker 2016-05-11 20:28:41 +00:00
CXX Add support for derived class special members hiding functions brought in from 2016-05-13 06:47:56 +00:00
CodeCompletion Fix CodeCompletion & TypoCorrection when combining a PCH with Modules 2016-05-04 00:53:13 +00:00
CodeGen [CodeGen] Clang does not choose aapcs-vfp calling convention for ARM bare metal target with hard float (EABIHF) 2016-05-13 14:45:57 +00:00
CodeGenCUDA [CUDA] Fix flush-denormals.cu test so that it checks what it intends to CHECK. 2016-05-10 00:34:50 +00:00
CodeGenCXX [ms][dll] #27212: Generating of implicit special members should take into account MSVC compatibility version 2016-05-13 09:03:56 +00:00
CodeGenObjC [Clang] Remove unwanted --check-prefix=CHECK from unit tests. NFC. 2016-04-20 01:02:18 +00:00
CodeGenObjCXX [ObjC][CodeGen] Remove an assert that is no longer correct. 2016-05-13 01:21:23 +00:00
CodeGenOpenCL Revert "AMDGPU/SI: Use amdgpu_kernel calling convention for OpenCL kernels." 2016-05-06 15:00:51 +00:00
Coverage Stop messing with the 'g' group of options in CompilerInvocation. 2015-10-08 04:24:12 +00:00
CoverageMapping [Coverage] Fix an issue where a coverage region might not be created for a macro containing a loop statement. 2016-05-04 15:38:26 +00:00
Driver [ubsan] Add -fsanitize-undefined-strip-path-components=N 2016-05-12 16:51:36 +00:00
FixIt Add the Pure attribute to C99 builtin functions from ctype.h. This is a corrected version of r266199 with test case fixes. 2016-05-04 21:08:13 +00:00
Format Fix clang-format test. I believe that the new behavior is better. 2015-11-23 08:50:52 +00:00
Frontend Embed bitcode in object file (clang cc1 part) 2016-05-11 16:26:03 +00:00
Headers [modules] Don't expose *intrin.h headers that cannot be included standalone as 2016-04-16 00:46:26 +00:00
Index [libclang] Expose the ElaboratedType 2016-05-03 06:58:29 +00:00
Integration
Layout [MS] Fix for bug 25013 - #pragma vtordisp is unknown inside functions, by Denis Zobnin. 2015-11-20 07:02:57 +00:00
Lexer [esan] EfficiencySanitizer driver flags 2016-04-21 21:32:04 +00:00
Misc [OpenCL] Fix pipe type dump. 2016-05-03 05:37:07 +00:00
Modules [CrashReproducer] Always use realpath for destination 2016-05-06 23:58:58 +00:00
OpenMP [OPENMP 4.5] Initial codegen for 'priority' clause in task-based 2016-05-10 12:21:02 +00:00
PCH Module debugging: Fix the DWO filename for PCH in a relative path. 2016-04-27 17:06:22 +00:00
Parser [OpenCL] Output OpenCL version in diagnostics. 2016-05-12 16:28:25 +00:00
Preprocessor [Power9] Enable -mcpu=pwr9 (-mcpu=power9) in the front end 2016-05-09 18:58:02 +00:00
Profile [profile] Fix another use of the driver. 2016-04-23 02:13:48 +00:00
Rewriter Stop messing with the 'g' group of options in CompilerInvocation. 2015-10-08 04:24:12 +00:00
Sema [MSVC] Implementation of __unaligned as a proper type qualifier 2016-05-11 18:38:21 +00:00
SemaCUDA Add support for derived class special members hiding functions brought in from 2016-05-13 06:47:56 +00:00
SemaCXX Add support for derived class special members hiding functions brought in from 2016-05-13 06:47:56 +00:00
SemaObjC ObjC kindof: set the type of a conditional expression when involving kindof. 2016-05-06 19:35:02 +00:00
SemaObjCXX [ObjC] Enter a new evaluation context before calling 2016-05-04 18:07:20 +00:00
SemaOpenCL [OpenCL] Output OpenCL version in diagnostics. 2016-05-12 16:28:25 +00:00
SemaTemplate Warn if function or variable cannot be implicitly instantiated 2016-04-19 06:19:52 +00:00
TableGen
Tooling Back out the test case for r266973 for now. 2016-04-21 10:46:14 +00:00
Unit Replace hardcoded comment at 'lit.site.cfg.in' 2016-04-16 06:54:46 +00:00
VFS [VFS] Fix status() of opened redirected file 2015-12-10 23:41:39 +00:00
.clang-format
CMakeLists.txt Moving clang-test-depends into the Clang tests folder and moving vtables_blacklist into the Misc folder; NFC, this simply cleans up the generated solution so that these targets don't live in the root folder of the IDE. 2016-04-12 15:09:17 +00:00
TestRunner.sh
cxx-sections.data
lit.cfg Revert r260266 (and r260276), "clang-cl: Enable plugins on Windows" 2016-02-11 16:43:08 +00:00
lit.site.cfg.in Replace hardcoded comment at 'lit.site.cfg.in' 2016-04-16 06:54:46 +00:00
make_test_dirs.pl