summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* [CostModel][X86] Add explicit vector select costsSimon Pilgrim2019-01-2016-838/+1109
| | | | | | | | | | Prior to SSE41 (and sometimes on AVX1), vector select has to be performed as a ((X & C)|(Y & ~C)) bit select. Exposes a couple of issues with the min/max reduction costs (which only go down to SSE42 for some reason). The increase pre-SSE41 selection costs also prevent a couple of tests from firing any longer, so I've either tweaked the target or added AVX tests as well to the existing SSE2 tests. llvm-svn: 351685
* [CostModel][X86] Add explicit fcmp costs for pre-SSE42 targetsSimon Pilgrim2019-01-203-809/+596
| | | | | | Typical throughputs: cmpss/cmpps = 1cy and cmpsd/cmppd = 2cy before the Core2 era llvm-svn: 351684
* [TTI][X86] Reordered getCmpSelInstrCost cost tables in descending ISA order. ↵Simon Pilgrim2019-01-201-24/+24
| | | | | | | | NFCI. Minor tidyup to make it clearer whats going on before adding additional costs. llvm-svn: 351683
* [CostModel][X86] Split icmp/fcmp costs tests and test all comparison codesSimon Pilgrim2019-01-203-330/+4529
| | | | llvm-svn: 351682
* [CostModel][X86] Add masked load/store/gather/scatter tests for ↵Simon Pilgrim2019-01-202-458/+660
| | | | | | SSE2/SSE42/AVX1 targets llvm-svn: 351681
* [CostModel][X86] Add non-constant vselect cost testsSimon Pilgrim2019-01-201-1/+121
| | | | | | Also add AVX512 costs at the same time llvm-svn: 351680
* [AVR] Remove unneeded XFAILs from the Generic CodeGen testsDylan McKay2019-01-205-9/+0
| | | | | | | | These have been in place for quite a while now. Several bugs have since been fixed, and these tests now pass. llvm-svn: 351679
* [AVR] Allow AVR to be explicitly set as the default target tripleDylan McKay2019-01-201-0/+2
| | | | | | | | | | | | | | | This extends the CMake cross compilation logic so that AVR can be set as the default target triple, and thus the generic codegen tests can be run. This used to be possible on AVR; the CMake configuration files have since been changed. With this patch, 'cmake -DLLVM_DEFAULT_TARGET_TRIPLE=avr-unknown-unknown' can be passed on the command line, making the `-mcpu` argument redundant to 'llc' and friends. llvm-svn: 351678
* [AVR] Replace two references to ARM's 't2_so_imm' type commentsDylan McKay2019-01-201-2/+2
| | | | | | | | | | | These were originally introduced in a copy-paste committed in r351526. The reference to 't2_so_imm' have been updated to 'imm_com8' so the comment is now accurate. Thanks to Eli Friedman for noticing this. llvm-svn: 351674
* [AVR] Fix codegen bug in 16-bit loadsDylan McKay2019-01-207-40/+50
| | | | | | | | | | | | | | | | | | | | | | | | Prior to this patch, the AVR::LDWRdPtr instruction was always lowered to instructions of this pattern: ld $GPR8, [PTR:XYZ]+ ld $GPR8, [PTR]+1 This has a problem; the [PTR] is incremented in-place once, but never decremented. Future uses of the same pointer will use the now clobbered value, leading to the pointer being incorrect by an offset of one. This patch modifies the expansion code of the LDWRdPtr pseudo instruction so that the pointer variable is not silently clobbered in future uses in the same live range. Bug first reported by Keshav Kini. Patch by Kaushik Phatak. llvm-svn: 351673
* Revert "[AVR] Fix codegen bug in 16-bit loads"Dylan McKay2019-01-206-50/+37
| | | | | | | | | | | This reverts commit r351544. In that commit, I had mistakenly misattributed the issue submitter as the patch author, Kaushik Phatak. The patch will be recommitted immediately with the correct attribution. llvm-svn: 351672
* [ConstantMerge] Factor out check for un-mergeable globals, NFCVedant Kumar2019-01-201-10/+12
| | | | llvm-svn: 351671
* Fix aligned allocation availability XFAILs after D56445.Eric Fiselier2019-01-208-24/+40
| | | | | | | | | | D56445 bumped the minimum Mac OS X version required for aligned allocation from 10.13 to 10.14. This caused libc++ tests depending on the old value to break. This patch updates the XFAILs for those tests to include 10.13. llvm-svn: 351670
* Revert "Fix aligned allocation availability XFAILs after D56445."Eric Fiselier2019-01-208-24/+16
| | | | | | | | | This reverts commit r351625. That fix was incomplete. I'm reverting so I can commit a complete fix in a single revision. llvm-svn: 351669
* make XFAIL, REQUIRES, and UNSUPPORTED support multi-line expressionsEric Fiselier2019-01-203-3/+44
| | | | llvm-svn: 351668
* Improve docker images and configuration; create compiler-zoo imageEric Fiselier2019-01-199-365/+395
| | | | llvm-svn: 351667
* [X86] Add masked MCVTSI2P/MCVTUI2P ISD opcodes to model the cvtqq2ps ↵Craig Topper2019-01-195-17/+88
| | | | | | | | cvtuqq2ps nodes that produce less than 128-bits of results. These nodes zero the upper half of the result and can't be represented with vselect. llvm-svn: 351666
* [FIX] Generalize the expected results for callback clang testsJohannes Doerfert2019-01-192-15/+11
| | | | llvm-svn: 351665
* Fix order of arguments in an lldb type summary in examplesNathan Lanza2019-01-191-1/+1
| | | | | | | | | | The format for the -w argument is: -w name ( --category name ) Rearrange the flags correctly. llvm-svn: 351664
* [llvm-objcopy] [COFF] Implement --only-sectionMartin Storsjo2019-01-192-0/+27
| | | | | | Differential Revision: https://reviews.llvm.org/D56873 llvm-svn: 351663
* [llvm-objcopy] [COFF] Implement --only-keep-debugMartin Storsjo2019-01-195-0/+156
| | | | | | Differential Revision: https://reviews.llvm.org/D56840 llvm-svn: 351662
* [llvm-objcopy] [COFF] Implement --strip-debugMartin Storsjo2019-01-192-0/+120
| | | | | | | | | Also remove sections similarly for --strip-all, --discard-all, --strip-unneeded. Differential Revision: https://reviews.llvm.org/D56839 llvm-svn: 351661
* [llvm-objcopy] [COFF] Add support for removing sectionsMartin Storsjo2019-01-197-19/+391
| | | | | | Differential Revision: https://reviews.llvm.org/D56683 llvm-svn: 351660
* [llvm-objcopy] [COFF] Add a testcase for patching the debug directory. NFC.Martin Storsjo2019-01-191-0/+64
| | | | | | | | | | The debug directory contains the rwa file address of itself, which is updated on write. Add a testcase for this existing functionality. Differential Revision: https://reviews.llvm.org/D56876 llvm-svn: 351659
* [llvm-objcopy] [COFF] Remove a superfluous namespace qualification. NFC.Martin Storsjo2019-01-191-1/+1
| | | | llvm-svn: 351658
* [llvm-objcopy] [COFF] Rename a test from .yaml to .test. NFC.Martin Storsjo2019-01-191-0/+0
| | | | | | | Tests named .yaml aren't executed by default in this directory (while they are within e.g. LLD). llvm-svn: 351657
* Update an example to use the new LLVM file header.Chandler Carruth2019-01-191-8/+6
| | | | llvm-svn: 351653
* Update the coding standards with the new file header.Chandler Carruth2019-01-191-4/+3
| | | | llvm-svn: 351652
* Update the license mentioned in this documentation.Chandler Carruth2019-01-191-1/+1
| | | | llvm-svn: 351651
* Update generator script to use the new license file header.Chandler Carruth2019-01-191-4/+3
| | | | llvm-svn: 351650
* Update structured references to the license to the new license.Chandler Carruth2019-01-192-3/+3
| | | | | | | | Since these are intended to be short and succinct, I've used the SPDX full name. It's human readable, but formally agreed upon and will be part of the SPDX spec for licenses. llvm-svn: 351649
* Update more file headers across all of the LLVM projects in the monorepoChandler Carruth2019-01-197430-29674/+22292
| | | | | | | | | | | | | | | | | | to reflect the new license. These used slightly different spellings that defeated my regular expressions. We understand that people may be surprised that we're moving the header entirely to discuss the new license. We checked this carefully with the Foundation's lawyer and we believe this is the correct approach. Essentially, all code in the project is now made available by the LLVM project under our new license, so you will see that the license headers include that license only. Some of our contributors have contributed code under our old license, and accordingly, we have retained a copy of our old license notice in the top-level files in each project and repository. llvm-svn: 351648
* [ASTDump] NFC: Convert iterative loops to cxx_range_forStephen Kelly2019-01-191-24/+14
| | | | | | | This is coming up a lot in reviews. Better just to change them all at once. llvm-svn: 351647
* [ASTDump] NFC: Use `const auto` in cxx_range_for loopsStephen Kelly2019-01-191-15/+15
| | | | | | This is coming up a lot in reviews. Better just to do them all at once. llvm-svn: 351646
* [InstCombine] Simplify cttz/ctlz + icmp ugt/ultNikita Popov2019-01-193-37/+88
| | | | | | | | | | | | Followup to D55745, this time handling comparisons with ugt and ult predicates (which are the canonical forms for non-equality predicates). For ctlz we can convert into a simple icmp, for cttz we can convert into a mask check. Differential Revision: https://reviews.llvm.org/D56355 llvm-svn: 351645
* [NFX] Fix language reference title declarationJohannes Doerfert2019-01-191-1/+1
| | | | llvm-svn: 351644
* [FIX] Restrict callback pthreads_create test to linux onlyJohannes Doerfert2019-01-191-0/+3
| | | | llvm-svn: 351643
* [NFC] Generalize expected output for callback testJohannes Doerfert2019-01-191-1/+1
| | | | llvm-svn: 351642
* [NFC] Fix unused variable warnings in Release buildsJohannes Doerfert2019-01-191-0/+2
| | | | llvm-svn: 351641
* Update the license header in this man-page file.Chandler Carruth2019-01-191-2/+3
| | | | | | | | | It contains an `$Id$` expansion and so can only be updated from a true Subversion client. See the details of this update in r351636. llvm-svn: 351640
* Remove a period from CREDITS.TXT (testing email change). NFCKristina Brooks2019-01-191-1/+1
| | | | llvm-svn: 351639
* Fix all the bots.Eric Fiselier2019-01-191-3/+3
| | | | | | | The buildbot start scripts hardcode the version string. Bump it from 8 to 9. llvm-svn: 351638
* Move decl context dumping to TextNodeDumperStephen Kelly2019-01-193-9/+12
| | | | | | | | | | | | Summary: Only an obscure case is moved. Reviewers: aaron.ballman Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D56829 llvm-svn: 351637
* Update the file headers across all of the LLVM projects in the monorepoChandler Carruth2019-01-1911262-44829/+33878
| | | | | | | | | | | | | | | | | to reflect the new license. We understand that people may be surprised that we're moving the header entirely to discuss the new license. We checked this carefully with the Foundation's lawyer and we believe this is the correct approach. Essentially, all code in the project is now made available by the LLVM project under our new license, so you will see that the license headers include that license only. Some of our contributors have contributed code under our old license, and accordingly, we have retained a copy of our old license notice in the top-level files in each project and repository. llvm-svn: 351636
* Remove unnecesasry comment markers.Chandler Carruth2019-01-191-8/+8
| | | | llvm-svn: 351635
* Convert two more files that were using Windows line endings and removeChandler Carruth2019-01-193-81/+81
| | | | | | | a stray single '\r' from one file. These are the last line ending issues I can find in the files containing parts of LLVM's file headers. llvm-svn: 351634
* Remove random windows line endings that snuck into the middle of thisChandler Carruth2019-01-191-124/+124
| | | | | | code. llvm-svn: 351633
* Update some code used in our visual studio plugins to use linux fileChandler Carruth2019-01-196-723/+723
| | | | | | | | endings. We already used them in some cases, and this makes things consistent. This will also simplify updating the licenses in these files. llvm-svn: 351632
* Install new LLVM license structure and new developer policy.Chandler Carruth2019-01-1922-294/+4713
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This installs the new developer policy and moves all of the license files across all LLVM projects in the monorepo to the new license structure. The remaining projects will be moved independently. Note that I've left odd formatting and other idiosyncracies of the legacy license structure text alone to make the diff easier to read. Critically, note that we do not in any case *remove* the old license notice or terms, as that remains necessary until we finish the relicensing process. I've updated a few license files that refer to the LLVM license to instead simply refer generically to whatever license the LLVM project is under, basically trying to minimize confusion. This is really the culmination of so many people. Chris led the community discussions, drafted the policy update and organized the multi-year string of meeting between lawyers across the community to figure out the strategy. Numerous lawyers at companies in the community spent their time figuring out initial answers, and then the Foundation's lawyer Heather Meeker has done *so* much to help refine and get us ready here. I could keep going on, but I just want to make sure everyone realizes what a huge community effort this has been from the begining. Differential Revision: https://reviews.llvm.org/D56897 llvm-svn: 351631
* Cleanup non-UTF8 characters and some types I found in these files.Chandler Carruth2019-01-192-2/+2
| | | | llvm-svn: 351630
OpenPOWER on IntegriCloud