summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* [mips][microMIPSr6] Implement DIV, DIVU, MOD and MODU instructionsZoran Jovanovic2015-05-194-5/+30
| | | | | | Differential Revision: http://reviews.llvm.org/D8769 llvm-svn: 237685
* clang-format: Correctly detect casts to qualified types.Daniel Jasper2015-05-192-1/+3
| | | | | | | | | | | | Before: ns::E f() { return (ns::E) - 1; } After: ns::E f() { return (ns::E)-1; } This fixes llvm.org/PR23503. llvm-svn: 237684
* Fix Visual C++ errors C2784, C2780, C2782 after r237678.Yaron Keren2015-05-191-1/+2
| | | | | | It does not like std::min(unsigned, uint32_t). llvm-svn: 237683
* [X86] ABI change for x86-32: pass 3 vector arguments in-register instead of ↵Michael Kuperstein2015-05-194-29/+114
| | | | | | | | | | | | | | | | 4, except on Darwin. This changes the ABI used on 32-bit x86 for passing vector arguments. Historically, clang passes the first 4 vector arguments in-register, and additional vector arguments on the stack, regardless of platform. That is different from the behavior of gcc, icc, and msvc, all of which pass only the first 3 arguments in-register. The 3-register convention is documented, unofficially, in Agner's calling convention guide, and, officially, in the recently released version 1.0 of the i386 psABI. Darwin is kept as is because the OS X ABI Function Call Guide explicitly documents the current (4-register) behavior. This fixes PR21510 Differential revision: http://reviews.llvm.org/D9644 llvm-svn: 237682
* clang-format: Fix regression caused by r237244.Daniel Jasper2015-05-192-1/+4
| | | | | | | | | | | | | | | Before: [call aaaaaaaa.aaaaaaaa.aaaaaaaa.aaaaaaaa.aaaaaaaa.aaaaaaaa.aaaaaaaa.aaaaaaaa. aaaaaaaa]; After: [call aaaaaaaa.aaaaaaaa.aaaaaaaa.aaaaaaaa.aaaaaaaa.aaaaaaaa.aaaaaaaa.aaaaaaaa .aaaaaaaa]; This merely papers over the fact that we aren't parsing ObjC method calls correctly. Also, the indentation is weird. llvm-svn: 237681
* Revert "Avoid size_t -> unsigned conversion in MathExtras.h header. NFC".Pawel Bylica2015-05-191-4/+4
| | | | llvm-svn: 237680
* Mark TestEvents as XTIMEOUT on LinuxTamas Berghammer2015-05-191-0/+1
| | | | llvm-svn: 237679
* Avoid size_t -> unsigned conversion in MathExtras.h header. NFC.Pawel Bylica2015-05-191-4/+4
| | | | llvm-svn: 237678
* Fix documentation for Set-Like ContainersArtyom Skrobov2015-05-191-10/+26
| | | | llvm-svn: 237677
* Don't print =breakpoint-created if BP info was emitted in the result record (MI)Ilia K2015-05-194-13/+28
| | | | llvm-svn: 237676
* [sanitizer][MIPS] Add --target flag for MIPS32Sagar Thakur2015-05-194-4/+8
| | | | | | | | | | Without the --target flag, clang uses the mips64 triple which selects the n64 abi. We need to add --target=mips-linux-gnu, so that clang can select the correct abi for mips32r2. Reviewers: dsanders, kcc, samsonov Subscribers: llvm-commits, mohit.bhakkad, jaydeep Differential Revision: http://reviews.llvm.org/D9249 llvm-svn: 237675
* [OPENMP] Prohibit VLAs in 'private/firstprivate' clauses of 'task' directive.Alexey Bataev2015-05-195-3/+43
| | | | | | Currently runtime does not allow to support variably modified types for 'private' and 'firstprivate' clauses in 'task' directives. llvm-svn: 237674
* Fix getSwappedBytes for double.Pawel Bylica2015-05-191-1/+1
| | | | llvm-svn: 237673
* [OPENMP] Prohibit variably modified types in 'copyprivate' clause.Alexey Bataev2015-05-193-2/+15
| | | | | | Runtime does not allow to work with VLAs in copyprivate clause. llvm-svn: 237672
* [OPENMP] Fixed analysis of function arguments and their data sharing attributes.Alexey Bataev2015-05-195-50/+102
| | | | | | Added proper analysis for types of function arguments. llvm-svn: 237670
* BrainF.cpp: Update CreateCall() according to r237624.NAKAMURA Takumi2015-05-191-1/+2
| | | | llvm-svn: 237669
* SemaExprCXX.cpp: Try to fix \param in r237608. [-Wdocumentation]NAKAMURA Takumi2015-05-191-2/+1
| | | | llvm-svn: 237668
* Drop unnecessary ';' after namespaceTobias Grosser2015-05-191-1/+1
| | | | | | | The ';' was introduced in 237642. With it in place, we get a large number of warnings in -pedantic mode. llvm-svn: 237667
* Adapt to IRBuilder::CreateCall interface changeTobias Grosser2015-05-192-3/+3
| | | | | | | The IRBuilder::CreateCall interface was changed in r237624 and now requires an initializer list. llvm-svn: 237666
* dotest - minor doc fixVince Harron2015-05-191-2/+2
| | | | llvm-svn: 237665
* mark new/delete tests as XFAIL more carefullyEric Fiselier2015-05-194-10/+20
| | | | llvm-svn: 237664
* [libcxx] Rework sized delete.Eric Fiselier2015-05-1915-518/+509
| | | | | | | | | | | | | | | | | | | | | | | | | | Summary: This patch does 2 main things: 1. Enable sized delete if the feature test macro `__cpp_sized_deallocation` is enabled. 2. Rework and cleanup all of the sized delete tests. Test Plan: The sized delete replacement tests are now split into 4 files: 1. sized_delete11.pass.cpp: Ensure overriding sized delete in C++11 has no effect. 2. sized_delete14.pass.cpp: Test overriding sized delete in C++14 and ensure it is called. This test fails on clang and GCC < 5.1. 3. size_delete_calls_unsized_delete_.pass.cpp: Test that the default sized delete calls unsized delete. 4. sized_delete_fsizeddeallocation.pass.cpp: Test overriding sized delete when -fsized-deallocation is passed. This test should pass on clang and GCC >= 5.1 I have also removed a lot of cruft from the old tests. They no longer replace the new handler and tests that it is called for bad allocations. Reviewers: mclow.lists Reviewed By: mclow.lists Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D9831 llvm-svn: 237662
* PR20073: promote "dereference of 'void*'" from Extension to ExtWarn.Richard Smith2015-05-193-7/+7
| | | | llvm-svn: 237652
* SelectionDAG: Cleanup and simplify FoldConstantArithmeticMatthias Braun2015-05-192-100/+95
| | | | | | | | | | | This cleans up the FoldConstantArithmetic code by factoring out the case of two ConstantSDNodes into an own function. This avoids unnecessary complexity for many callers who already have ConstantSDNode arguments. This also avoids an intermeidate SmallVector datastructure and a loop over that datastructure. llvm-svn: 237651
* [BitcodeReader] Error out if we read an invalid function argument typeFilipe Cabecinhas2015-05-193-1/+9
| | | | | | Bug found with AFL fuzz. llvm-svn: 237650
* [lib/Fuzzer] more efficient reload logic; also don't spam git too muchKostya Serebryany2015-05-193-8/+11
| | | | llvm-svn: 237649
* [AST] Put VarDeclBitfields on a dietDavid Majnemer2015-05-194-65/+104
| | | | | | | | VarDeclBitfields contained bits which are never present in parameters. Split these out so that ParmVarDeclBitfields wouldn't grow past 32-bits if another field was added. llvm-svn: 237648
* [modules] Support for merging a parsed definition of a static data member of ↵Richard Smith2015-05-192-14/+35
| | | | | | a class template into an imported but hidden definition. llvm-svn: 237647
* [BitcodeReader] It's a malformed block if CodeLenWidth is too bigFilipe Cabecinhas2015-05-193-0/+9
| | | | | | Bug found with AFL fuzz. llvm-svn: 237646
* DAGCombiner: Factor common pattern into isOneConstant() function. NFCMatthias Braun2015-05-191-35/+32
| | | | llvm-svn: 237645
* DAGCombiner: Factor common pattern into isAllOnesConstant() function. NFCMatthias Braun2015-05-191-46/+43
| | | | llvm-svn: 237644
* DAGCombiner: Use isNullConstant() where possibleMatthias Braun2015-05-191-19/+13
| | | | llvm-svn: 237643
* Store intrinsic ID by value in Function instead of a string lookup. NFC.Pete Cooper2015-05-197-42/+41
| | | | | | | | | | | | On 64-bit targets, Function has 4-bytes of padding in its struct layout. This uses the space for the intrinsic ID. It is set and recalculated whenever the function name is set. This is similar to the current behavior which clears the function from the intrinsic ID cache when its renamed. The intrinsic cache itself is removed as the only purpose was to speedup calls to getIntrinsicID() which now just reading the new field in the struct. Reviewed by Duncan. http://reviews.llvm.org/D9836 llvm-svn: 237642
* Move Function::lookupIntrinsicID to a static method. NFCPete Cooper2015-05-192-19/+14
| | | | llvm-svn: 237641
* Use ADB pull to download modules from android target.Oleksiy Vyalov2015-05-185-36/+229
| | | | | | http://reviews.llvm.org/D9816 llvm-svn: 237640
* Re-land r237175: [X86] Always return the sret parameter in eax/rax ...Reid Kleckner2015-05-184-51/+71
| | | | | | | | | This reverts commit r237210. Also fix X86/complex-fca.ll to match the code that we used to generate on win32 and now generate everwhere to conform to SysV. llvm-svn: 237639
* Mark N4510 as complete; we already do thisMarshall Clow2015-05-181-2/+2
| | | | llvm-svn: 237638
* Enable debugging of multithreaded programs on Windows.Adrian McCarthy2015-05-188-28/+44
| | | | llvm-svn: 237637
* Add support for N4389 - std::bool_constantMarshall Clow2015-05-184-13/+58
| | | | llvm-svn: 237636
* Revert accidental change in r237633Matthias Braun2015-05-181-1/+1
| | | | llvm-svn: 237635
* [mips][microMIPSr6] Implement LSA instructionJozef Kolek2015-05-185-2/+34
| | | | | | | | This patch implements LSA instruction using mapping. Differential Revision: http://reviews.llvm.org/D8919 llvm-svn: 237634
* DAGCombiner: Factor common pattern into isNullConstant() function. NFCMatthias Braun2015-05-181-71/+59
| | | | llvm-svn: 237633
* Make it possible to run dotest on Linux without any parametersVince Harron2015-05-181-5/+15
| | | | | | | | | | | | dotest will select clang-3.5 by default and fall back on clang/gcc dotest will look for the lldb executable in the typical cmake output locations: {lldb}/../../../build/bin (next to llvm directory) {lldb}/../../../build/host/bin (next to llvm directory) {lldb}/../build/bin (next to lldb directory) {lldb}/../build/host/bin (next to lldb directory) llvm-svn: 237632
* Fix indentationDavid Blaikie2015-05-181-43/+43
| | | | llvm-svn: 237631
* Revert changes to DefaultABIInfo accidentally introduced in r208733Reid Kleckner2015-05-182-1/+21
| | | | | | | | | | | | Also add trivial handling of transparent unions. PPC32, MSP430, and XCore apparently all rely on DefaultABIInfo. This should worry you, because DefaultABIInfo is not implementing the rules of any particular ABI. Fixes PR23097, patch by Andy Gibbs. llvm-svn: 237630
* Revert "[opaque pointer type] Provide a convenience for ↵David Blaikie2015-05-181-7/+0
| | | | | | | | | | IRBuilder::CreateCall that accepts a Function without needing to take an explicit callee Type" Creates ambiguity in Clang callers. Reverting while I figure it out. This reverts commit r237627. llvm-svn: 237629
* [BitcodeReader] Make sure the type of the inserted value matches the type of ↵Filipe Cabecinhas2015-05-183-0/+8
| | | | | | | | the aggregate at those indices Bug found with AFL-fuzz. llvm-svn: 237628
* [opaque pointer type] Provide a convenience for IRBuilder::CreateCall that ↵David Blaikie2015-05-181-0/+7
| | | | | | | | | accepts a Function without needing to take an explicit callee Type The common case is a direct call, so don't make all those users have to explicitly pass the result of llvm::Function::getFunctionType. llvm-svn: 237627
* API update for streamlining of IRBuilder::CreateCall to just use ↵David Blaikie2015-05-1814-108/+109
| | | | | | ArrayRef/initializer_list+braced init llvm-svn: 237625
* Simplify IRBuilder::CreateCall* by using ArrayRef+initializer_list/braced ↵David Blaikie2015-05-1830-245/+213
| | | | | | init only llvm-svn: 237624
OpenPOWER on IntegriCloud