[builtins][ARM] Replace call_apsr.S with inline asmThe %arm_call_apsr expansion doesn't work when config.clang is a clangdriver defaulting to a non-ARM arch. Rather than fix it, replacecall_apsr.
[builtins][ARM] Replace call_apsr.S with inline asmThe %arm_call_apsr expansion doesn't work when config.clang is a clangdriver defaulting to a non-ARM arch. Rather than fix it, replacecall_apsr.S with inline asm in call_apsr.h, which also resolves theFIXME added in D31259.Maybe the `__attribute__((noinline,pcs("aapcs")))` attributes areunnecessary on the static functions, but I was unsure what liberty thecompiler had to insert instructions that modified the condition codes,so it seemed helpful.Differential Revision: https://reviews.llvm.org/D82147
show more ...
[builtins][test] Delete unneeded file headersWe don't add file headers to tests. The comments are useless as well -their purpose can be easily inferred from the filenames.
[lit] Remove lit's REQUIRES-ANY directiveSummary:Remove REQUIRES-ANY alias lit directive since it is hardly used and canbe easily implemented using an OR expression using REQUIRES. Fixupremainin
[lit] Remove lit's REQUIRES-ANY directiveSummary:Remove REQUIRES-ANY alias lit directive since it is hardly used and canbe easily implemented using an OR expression using REQUIRES. Fixupremaining testcases still using REQUIRES-ANY.Reviewers: probinson, jdenny, gparker42Reviewed By: gparker42Subscribers: eugenis, asb, rbar, johnrusso, simoncook, sabuasal, niosHD, delcypher, jrtc27, zzheng, edward-jones, rogfer01, MartinMosbeck, brucehoult, the_o, PkmX, jocewei, lenary, s.egerton, pzheng, sameer.abuasal, apazos, luismarques, cfe-commits, #sanitizers, llvm-commitsTags: #llvm, #clang, #sanitizersDifferential Revision: https://reviews.llvm.org/D71408
Update more file headers across all of the LLVM projects in the monorepoto reflect the new license. These used slightly different spellings thatdefeated my regular expressions.We understand that
Update more file headers across all of the LLVM projects in the monorepoto reflect the new license. These used slightly different spellings thatdefeated my regular expressions.We understand that people may be surprised that we're moving the headerentirely to discuss the new license. We checked this carefully with theFoundation's lawyer and we believe this is the correct approach.Essentially, all code in the project is now made available by the LLVMproject under our new license, so you will see that the license headersinclude that license only. Some of our contributors have contributedcode under our old license, and accordingly, we have retained a copy ofour old license notice in the top-level files in each project andrepository.llvm-svn: 351648
[Builtin] Implement lit-test support (part 1 of 2: test cases update)Original r297566 is splitted into two parts.This is part one, which adds "RUN" command for test cases.Unit/arm/call_apsr.S is
[Builtin] Implement lit-test support (part 1 of 2: test cases update)Original r297566 is splitted into two parts.This is part one, which adds "RUN" command for test cases.Unit/arm/call_apsr.S is updated to support thumb1.It also fixes a bug in arm/aeabi_uldivmod_test.cgcc_personality_test is XFAILED as the framework cannot handle it so far.cpu_model_test is also XFAILED for now as it is expected to return non-zero.TODO: A few tests are XFAILed for armhf and aarch64.We need further investigating. [1,2] Tracks the issue.[1] https://bugs.llvm.org//show_bug.cgi?id=32260[2] https://bugs.llvm.org//show_bug.cgi?id=32261Reviewers: rengolin, compnerd, jroelofs, erik.pilkington, arphamanReviewed By: jroelofsSubscribers: jroelofs, aemerson, srhines, nemanjai, llvm-commits, mgornyDifferential Revision: https://reviews.llvm.org/D30802llvm-svn: 298339
Revert "[Builtin] Implement lit-test support"Due to test failure of check-builtins for aarch64 and armhf.This reverts commit r297566.llvm-svn: 297569
[Builtin] Implement lit-test supportSummary:This patch implements a initial support of lit test for builtins.Unit/arm/call_apsr.S is updated to support thumb1.It also fixes a bug in arm/aeabi_ul
[Builtin] Implement lit-test supportSummary:This patch implements a initial support of lit test for builtins.Unit/arm/call_apsr.S is updated to support thumb1.It also fixes a bug in arm/aeabi_uldivmod_test.cgcc_personality_test is XFAILED as the framework cannot handle it so far.cpu_model_test is also XFAILED for now as it is expected to return non-zero.Reviewers: rengolin, compnerd, jroelofs, erik.pilkington, arphamanReviewed By: jroelofsSubscribers: jroelofs, aemerson, srhines, nemanjai, llvm-commits, mgornyDifferential Revision: https://reviews.llvm.org/D30802llvm-svn: 297566
[Builtin][ARM] Fix test case for uldivmodSummary: the inline asm should set those clobbered registers.Reviewers: rengolin, compnerd, jroelofsReviewed By: jroelofsSubscribers: aemerson, llvm-c
[Builtin][ARM] Fix test case for uldivmodSummary: the inline asm should set those clobbered registers.Reviewers: rengolin, compnerd, jroelofsReviewed By: jroelofsSubscribers: aemerson, llvm-commitsDifferential Revision: https://reviews.llvm.org/D30811llvm-svn: 297487
[test] #ifdef new builtin tests for __arm__ platformAdd an #if that excludes the newly added aeabi* tests on non-ARMplatforms. This is consistent with other ARM tests, and aims to makerunning bui
[test] #ifdef new builtin tests for __arm__ platformAdd an #if that excludes the newly added aeabi* tests on non-ARMplatforms. This is consistent with other ARM tests, and aims to makerunning builtin tests easier. Lacking a proper infrastructure to runtests selectively, it is more convenient if we do not have to implementdirectory-platform exclusions and can just rely on tests compiling tono-op on other platforms.Differential Revision: https://reviews.llvm.org/D29708llvm-svn: 294438
[Bultin][ARM] Make aeabi_uldivmod and aeabi_ldivmod be Thumb1 compatibleSummary:in aeabi_ldivmod and uldivmod, using r6 instead of r12 as the temp reg due to limitation of Thumb1 ISA.Now, all EAB
[Bultin][ARM] Make aeabi_uldivmod and aeabi_ldivmod be Thumb1 compatibleSummary:in aeabi_ldivmod and uldivmod, using r6 instead of r12 as the temp reg due to limitation of Thumb1 ISA.Now, all EABI sources are Thumb1 compatible.Also added test cases by reusing the test cases from divmodsi4_test.c, udivmodsi4_test and udivmoddi4_test.cReviewers: rengolin, compnerdReviewed By: rengolinSubscribers: javed.absar, aemerson, mgorny, llvm-commitsDifferential Revision: https://reviews.llvm.org/D29226llvm-svn: 293527
Implement __aeabi_c{d,f}{cmpeq,cmple,rcmple}.Summary: Implement more missing ARM EABI runtime functions.Reviewers: rengolin, compnerdSubscribers: pirama, srhines, danalbert, aemerson, llvm-comm
Implement __aeabi_c{d,f}{cmpeq,cmple,rcmple}.Summary: Implement more missing ARM EABI runtime functions.Reviewers: rengolin, compnerdSubscribers: pirama, srhines, danalbert, aemerson, llvm-commitsDifferential Revision: http://reviews.llvm.org/D12089llvm-svn: 245648
Implement __aeabi_{f,d}rsub.Summary: Implement the missing ARM EABI functions _aeabi_frsub and __aeabi_drsub.Reviewers: rengolin, compnerdSubscribers: pirama, srhines, danalbert, aemerson, llvm
Implement __aeabi_{f,d}rsub.Summary: Implement the missing ARM EABI functions _aeabi_frsub and __aeabi_drsub.Reviewers: rengolin, compnerdSubscribers: pirama, srhines, danalbert, aemerson, llvm-commitsDifferential Revision: http://reviews.llvm.org/D12088llvm-svn: 245321