summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Use the cached subtargets and remove calls to getSubtarget/getSubtargetImplEric Christopher2015-01-309-174/+154
| | | | | | without a Function argument. llvm-svn: 227622
* Add a similar templated cast for getSubtarget off of the MachineFunctionEric Christopher2015-01-301-0/+7
| | | | | | to save typing a lot of static_casts. llvm-svn: 227621
* Add one more vim swap file patternMichael Liao2015-01-301-1/+1
| | | | llvm-svn: 227620
* [Hexagon] Adding vector shift instructions and tests.Colin LeMahieu2015-01-305-15/+188
| | | | llvm-svn: 227619
* R600/SI: Handle SI_SPILL_V96_RESTORE in SIRegisterInfo::eliminateFrameIndex()Tom Stellard2015-01-301-0/+1
| | | | | | This fixes a crash in Unigine Heaven. llvm-svn: 227618
* Windows: Fix _CPPUNWIND definition to follow -fcxx-exceptionsReid Kleckner2015-01-301-1/+1
| | | | | | | This is consistent with how we interpret the MSVC /EH flag, which controls -fcxx-exceptions. llvm-svn: 227616
* [X86] Cleanup tabs in test vector-zext.ll. NFC.Ahmed Bougacha2015-01-301-83/+83
| | | | | | | Some tests have tabs, some don't. In vector-[sz]ext.ll, space wins (well duh!). llvm-svn: 227615
* Silence "not all paths return a value" warning in MSVCReid Kleckner2015-01-301-0/+1
| | | | llvm-svn: 227614
* [Hexagon] Adding vector predicate instructions.Colin LeMahieu2015-01-303-1/+134
| | | | llvm-svn: 227613
* [Hexagon] Adding vector permutation instructions and tests.Colin LeMahieu2015-01-303-1/+172
| | | | llvm-svn: 227612
* Win64: Put a REX_W prefix on all TAILJMP* instructionsReid Kleckner2015-01-308-17/+81
| | | | | | | | | | | | | MSDN's x64 software conventions page says that this is one of the fixed list of legal epilogues: https://msdn.microsoft.com/en-us/library/tawsa7cb.aspx Presumably this is how the unwinder distinguishes epilogue jumps from in-function control flow. Also normalize the way we place "## TAILCALL" comments on such jumps. llvm-svn: 227611
* ELF: Fix a bug in -l.Rui Ueyama2015-01-302-1/+8
| | | | | | | If a linker script is given with -l, LLD failed to read the file. The bug was introduced in 227341. llvm-svn: 227610
* [Hexagon] Adding vector multiplies. Cleaning up tests.Colin LeMahieu2015-01-305-22/+406
| | | | llvm-svn: 227609
* Remove the preverify pass from the documentation now that it has been removedYunzhong Gao2015-01-301-7/+0
| | | | | | since r199487. llvm-svn: 227608
* [Hexagon] Adding XTYPE/COMPLEX instructions and cleaning up tests.Colin LeMahieu2015-01-306-1/+450
| | | | llvm-svn: 227607
* [AArch64] Make AArch64A57FPLoadBalancing output stable.Chad Rosier2015-01-301-2/+9
| | | | | | | | | | | | | Add tie breaker to colorChainSet() sort so that processing order doesn't depend on std::set order, which depends on pointer order, which is unstable from run to run. No test case as this is nearly impossible to reproduce. Phabricator Review: http://reviews.llvm.org/D7265 Patch by Geoff Berry <gberry@codeaurora.org>! llvm-svn: 227606
* Remove a redundant dyn_cast.Adrian Prantl2015-01-301-3/+2
| | | | llvm-svn: 227605
* Inliner: Use replaceDbgDeclareForAlloca() instead of splicing theAdrian Prantl2015-01-306-24/+27
| | | | | | | instruction and generalize it to optionally dereference the variable. Follow-up to r227544. llvm-svn: 227604
* ARM: further correct .fpu directive handlingSaleem Abdulrasool2015-01-302-7/+46
| | | | | | | | | | If the original FPU specification involved a restricted VFP unit (d16), ensure that we reset the functionality when we encounter a new FPU type. In particular, if the user specified vfpv3-d16, but switched to a VFPv3 (which has 32 double precision registers), we would fail to reset the D16 feature, and treat it as being equivalent to vfpv3-d16. llvm-svn: 227603
* Revert "Add missing test from r227488"Renato Golin2015-01-301-1/+0
| | | | | | This reverts commit r227489, since this is the real one failing the bots. llvm-svn: 227602
* Revert "Revert "Matching ARM change for r227481: DebugInfo: Teach Fast ISel ↵Renato Golin2015-01-301-7/+7
| | | | | | | | to respect the debug location of comparisons in jumps."" This reverts commit r227600, since that reverted the wrong comit. Sorry. llvm-svn: 227601
* Revert "Matching ARM change for r227481: DebugInfo: Teach Fast ISel to ↵Renato Golin2015-01-301-7/+7
| | | | | | | | respect the debug location of comparisons in jumps." This reverts commit r227488 as it was failing ARM bots. llvm-svn: 227600
* Fixup gold-plugin after r227576.Alexey Samsonov2015-01-301-2/+2
| | | | llvm-svn: 227599
* [Hexagon] Adding XTYPE/ALU vector instructions. Organizing test files.Colin LeMahieu2015-01-309-24/+500
| | | | llvm-svn: 227598
* ARM: improve caret diagnostics for invalid FPU nameSaleem Abdulrasool2015-01-302-1/+12
| | | | | | | In the case of an invalid FPU name, place the caret at the name rather than FPU directive. llvm-svn: 227595
* Fix lli after the DebugInfo move.Zachary Turner2015-01-302-2/+2
| | | | llvm-svn: 227594
* Special-case the PS4 SDK for a clang testFilipe Cabecinhas2015-01-302-0/+5
| | | | | | Original patch by Gao Yunzhong! llvm-svn: 227593
* Shuffle tests around to more appropriate filesFilipe Cabecinhas2015-01-302-2/+6
| | | | llvm-svn: 227592
* Fix regression in r227409 where we were passing -fsyntax-onlyEric Christopher2015-01-302-0/+8
| | | | | | | | in all cases. Patch by Artem Belevich. llvm-svn: 227591
* Wrap debug output with DEBUG().Rui Ueyama2015-01-302-2/+2
| | | | llvm-svn: 227590
* Check bit widths before trying to get a type.Filipe Cabecinhas2015-01-303-2/+13
| | | | | | | | | Added a test case for it. Also added run lines for the test case in r227566. Bugs found with afl-fuzz llvm-svn: 227589
* [Hexagon] Adding a number of vector load variants and organizing tests.Colin LeMahieu2015-01-304-17/+173
| | | | llvm-svn: 227588
* Really really don't build llvm-pdbdump on MSVC < 2013.Zachary Turner2015-01-301-0/+2
| | | | | | | I thought it was enough to just not add the tool subdirectory, but apparently I need to explicitly mark it ignore. llvm-svn: 227587
* Move DebugInfo to DebugInfo/DWARF.Zachary Turner2015-01-3070-111/+152
| | | | | | | | | | | | | In preparation for adding PDB support to LLVM, this moves the DWARF parsing code to its own subdirectory under DebugInfo, and renames LLVMDebugInfo to LLVMDebugInfoDWARF. This is purely a mechanical / build system change. Differential Revision: http://reviews.llvm.org/D7269 Reviewed by: Eric Christopher llvm-svn: 227586
* Implement log10Jan Vesely2015-01-305-0/+32
| | | | | | | | v2: Use constant and multiplication instead of division v3: Use hex constants Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu> llvm-svn: 227585
* ARM: correct handling of .fpu directiveSaleem Abdulrasool2015-01-302-23/+98
| | | | | | | | | | | | | The FPU directive permits the user to switch the target FPU, enabling instructions that would be otherwise unavailable. However, when configuring the new subtarget features, we would not enable the implied functions for newer FPUs. This would result in invalid rejection of valid input. Ensure that we inherit the implied FPU functionality when enabling newer versions of the FPU. Fortunately, these are mostly hierarchical, unlike the CPUs. Addresses PR22395. llvm-svn: 227584
* [mips] Pass ABI name via -target-abi instead of target-featuresDaniel Sanders2015-01-304-30/+30
| | | | | | | | | | | | | | Patch by Vladimir Medic Reviewers: echristo, atanasyan, dsanders Reviewed By: atanasyan, dsanders Subscribers: llvm-commits, echristo, atanasyan Differential Revision: http://reviews.llvm.org/D6091 llvm-svn: 227583
* tidy up; NFCSanjay Patel2015-01-301-6/+5
| | | | llvm-svn: 227582
* Follow-up to r217302 and r227555: Don't crash on inline ~A::A() if A is an int.Nico Weber2015-01-302-1/+22
| | | | | | | | | | | | | | | | | | | Even with r227555, this still crashed: struct S { int A; ~A::A() {} }; That's because ParseOptionalCXXScopeSpecifier()'s call to ActOnCXXNestedNameSpecifier() doesn't mark the scope spec as invalid if sema thought it's a good idea to fixit-correct "::" to ":". For the diagnostic improvement done in r217302, we never want :: to be interpreted as :, so fix this by setting ColonSacred to false temporarily. Found by SLi's bot. llvm-svn: 227581
* Adapt test for tid format on non-Darwin platformsEd Maste2015-01-301-1/+5
| | | | llvm-svn: 227580
* Restrict SigtrampUnwind test to Darwin onlyEd Maste2015-01-301-0/+1
| | | | | | | It needs OS-specific knowledge and has not yet been adapted to other systems. llvm-svn: 227579
* Skip Objective-C test on non-Darwin platformsEd Maste2015-01-301-1/+2
| | | | llvm-svn: 227578
* Code cleanupNathan Sidwell2015-01-303-17/+13
| | | | | | | Parser::ParseLexedMethodDeclaration: Use local var for Param Sema::MergeCXXFunctionDecls: Use hasInheritedDefaultArg llvm-svn: 227577
* [PM] Sink the population of the pass manager with target-specificChandler Carruth2015-01-303-9/+6
| | | | | | | | | | | | analyses back into the LTO code generator. The pass manager builder (and the transforms library in general) shouldn't be referencing the target machine at all. This makes the LTO population work like the others -- the data layout and target transform info need to be pre-populated. llvm-svn: 227576
* Fix a warning introduced by r227557 due to a default label in a fullyChandler Carruth2015-01-301-1/+0
| | | | | | covering switch. llvm-svn: 227575
* [Cygming] Seek also chkstk_ms, or JIT fails with DLL builds. It is fixup for ↵NAKAMURA Takumi2015-01-306-0/+192
| | | | | | r227519. llvm-svn: 227574
* Regenerate configure since r227090.NAKAMURA Takumi2015-01-301-0/+2
| | | | llvm-svn: 227573
* [Sanitizers] Intercept gethost functions on FreeBSDViktor Kutuzov2015-01-301-4/+4
| | | | | | Committed unreviewed with permission. llvm-svn: 227572
* [Msan] Fix the shmctl unit tests to pass on FreeBSDViktor Kutuzov2015-01-301-0/+16
| | | | | | Differential Revision: http://reviews.llvm.org/D7253 llvm-svn: 227571
* [Sanitizers] Introduce GET_LINK_MAP_BY_DLOPEN_HANDLE() macroViktor Kutuzov2015-01-307-7/+22
| | | | | | Differential Revision: http://reviews.llvm.org/D7233 llvm-svn: 227570
OpenPOWER on IntegriCloud