summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* [SLPVectorizer][X86] Added fcopysign testsSimon Pilgrim2016-10-011-0/+404
| | | | llvm-svn: 283046
* [SLPVectorizer][X86] Added fabs testsSimon Pilgrim2016-10-011-0/+274
| | | | llvm-svn: 283045
* [CostModel][X86] Added fcopysign costsSimon Pilgrim2016-10-011-0/+65
| | | | llvm-svn: 283044
* Use StringRef for MemoryBuffer identifier API (NFC)Mehdi Amini2016-10-0119-45/+42
| | | | llvm-svn: 283043
* [CostModel][X86] Added fabs costsSimon Pilgrim2016-10-011-0/+65
| | | | llvm-svn: 283042
* Fix signed/unsigned warningSimon Pilgrim2016-10-011-2/+2
| | | | llvm-svn: 283041
* [X86][SSE] Add support for combining target shuffles to binary BLENDSimon Pilgrim2016-10-013-12/+34
| | | | | | We already had support for 1-input BLEND with zero - this adds support for 2-input BLEND as well. llvm-svn: 283040
* Use StringRef in Registry API (NFC)Mehdi Amini2016-10-013-10/+9
| | | | llvm-svn: 283039
* [X86][SSE] Always combine target shuffles to MOVSD/MOVSSSimon Pilgrim2016-10-019-41/+92
| | | | | | | | Now we can commute to BLENDPD/BLENDPS on SSE41+ targets if necessary, so simplify the combine matching where we can. This required me to add a couple of scalar math movsd/moss fold patterns that hadn't been needed in the past. llvm-svn: 283038
* [X86][SSE] Enable commutation from MOVSD/MOVSS to BLENDPD/BLENDPS on SSE41+ ↵Simon Pilgrim2016-10-017-50/+160
| | | | | | | | | | | | targets Instead of selecting between MOVSD/MOVSS and BLENDPD/BLENDPS at shuffle lowering by subtarget this will help us select the instruction based on actual commutation requirements. We could possibly add BLENDPD/BLENDPS -> MOVSD/MOVSS commutation and MOVSD/MOVSS memory folding using a similar approach if it proves useful I avoided adding AVX512 handling as I'm not sure when we should be making use of VBLENDPD/VBLENDPS on EVEX targets llvm-svn: 283037
* Revert r283029 - [cmake] Make LIT_COMMAND configurable and improve fallback ↵Michal Gorny2016-10-011-4/+3
| | | | | | | | | | | | | | support Revert the change in r283029 (and the fixup in r283033) due to buildbot breakage. The fixup is ineffective for the bots that do not force clean build since the wrong value is already cached in CMakeCache.txt. Reverting it should result in the cache variable being removed and therefore it should be possible to re-introduce it after all buildbots build this revision. llvm-svn: 283036
* [X86][SSE] Regenerate vselect tests and improve AVX1/AVX2 coverageSimon Pilgrim2016-10-013-193/+507
| | | | llvm-svn: 283035
* Revert "[MC] Prevent out of order HashDirective lexing in AsmLexer."Nirav Dave2016-10-013-26/+27
| | | | | | This reverts commit r282992 which appears to be causing an LTO test failure. llvm-svn: 283034
* [cmake] Fix incorrect default for LIT_COMMAND, from r283029Michal Gorny2016-10-011-1/+1
| | | | llvm-svn: 283033
* Remove all instances of _LIBCPP_HAS_NO_RVALUE_REFERENCES from test/std/utilitiesEric Fiselier2016-10-0145-209/+118
| | | | llvm-svn: 283032
* [lldb-mi] Fix prompt which can get inserted in the middle of program output ↵Dawn Perchik2016-10-011-1/+3
| | | | | | | | | | | | | | in lldb-mi Summary: The code added in svn r264332 causes "(lldb) " to be printed in the middle of program console output. This fix restores the behavior for non-Windows platforms to before the patch. Reviewers: ted, zturner, clayborg Subscribers: amccarth, lldb-commits Differential Revision: http://reviews.llvm.org/D25137 llvm-svn: 283031
* Replace test_throw.h header with a single test macroEric Fiselier2016-10-018-39/+17
| | | | llvm-svn: 283030
* [cmake] Make LIT_COMMAND configurable and improve fallback supportMichal Gorny2016-10-011-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make LIT_COMMAND configurable, use source tree only when actually available and extend the default search to other common executable names 'lit.py' and 'lit', in order to increase uniformity between all LLVM projects and support using installed lit. Changing the conditional used to determine whether in-tree or external lit is being used covers the case when LLVM_MAIN_SRC_DIR is defined but does not exist (anymore). In this case, the functions falls back to looking for installed lit rather than attempting to use a non-existing path. The same conditional is used in clang already. Making LIT_COMMAND a cache variable in case the source tree variant is used serves two purposes. Firstly, it increases uniformity between the two branches since find_program() implicitly makes LIT_COMMAND a cache variable. Secondly, it allows overriding the lit executable used to run the tests when the LLVM source tree is provided. Gentoo is planning to use this to use installed (and byte-compiled) lit instead of re-compiling it in every LLVM project. Extending default search is meant to increase uniformity between different LLVM projects. The 'lit.py' name is already used by a few of them, and 'lit' is the name used by utils/lit/setup.py when installing. Differential Revision: https://reviews.llvm.org/D25076 llvm-svn: 283029
* [OCaml] Install .mli (interface) filesMichal Gorny2016-10-011-1/+2
| | | | | | | | | | | | | Install the OCaml interface .mli files. Those files were most likely omitted because they are input files for the compiled .cmi files. However, installing them is reasonable since -- unlike .cmi files -- they are human-readable. The issue was originally spotted by @jpdeplaix. Differential Revision: https://reviews.llvm.org/D25128 llvm-svn: 283028
* Split a comment into generic description and note about the specificJoerg Sonnenberger2016-10-011-3/+2
| | | | | | cmake use. llvm-svn: 283027
* Retire LLVM_BINDIR and friends. They haven't been provided with actualJoerg Sonnenberger2016-10-012-42/+0
| | | | | | values since the switch to cmake. llvm-svn: 283026
* [libFuzzer] add fuzzer test for libxml2, finds ↵Kostya Serebryany2016-10-013-0/+38
| | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=751631 llvm-svn: 283024
* GC HAVE_STRTOQJoerg Sonnenberger2016-10-012-4/+0
| | | | llvm-svn: 283023
* Retire bugpoint's -R. hack.Joerg Sonnenberger2016-10-013-13/+2
| | | | | | | | | It got disconnected during the cmake conversion. For Miscompilation.cpp, it was purely advisory for the user and the ToolRunner.cpp version was trying to compensate for libs and bins in the same directory, which hasn't been the case for a very long time. llvm-svn: 283022
* [libFuzzer] fix a recent bugs (buffer overflow)Kostya Serebryany2016-10-011-1/+1
| | | | llvm-svn: 283021
* [X86] Cleanup patterns for using VMOVDDUP for broadcasts.Craig Topper2016-10-013-13/+18
| | | | | | | | -Remove OptForSize. Not all of the backend follows the same rules for creating broadcasts and there is no conflicting pattern. -Don't stop selecting VEX VMOVDDUP when AVX512 is supported. We need VLX for EVEX VMOVDDUP. -Only use VMOVDDUP for v2i64 broadcasts if AVX2 is not supported. llvm-svn: 283020
* Revert "Use StringRef instead of raw pointer in TargetRegistry API (NFC)"Mehdi Amini2016-10-014-15/+15
| | | | | | This reverts commit r283017. Creates an infinite loop somehow. llvm-svn: 283019
* Use StringRef instead of raw pointers in MCAsmInfo/MCInstrInfo APIs (NFC)Mehdi Amini2016-10-0116-55/+55
| | | | llvm-svn: 283018
* Use StringRef instead of raw pointer in TargetRegistry API (NFC)Mehdi Amini2016-10-014-15/+15
| | | | llvm-svn: 283017
* Use StringRef instead of raw pointer in ExecutionEngineMehdi Amini2016-10-015-14/+14
| | | | llvm-svn: 283016
* [AVX-512] Add EVEX versions of VPBROADCASTW patterns with truncated i32 loads.Craig Topper2016-10-012-1/+18
| | | | llvm-svn: 283015
* [AVX-512] Add VLX command lines to 128 and 256-bit shufffle tests.Craig Topper2016-10-016-1405/+2920
| | | | llvm-svn: 283014
* Use StringRef in Datalayout API (NFC)Mehdi Amini2016-10-014-6/+6
| | | | llvm-svn: 283013
* DIFlags: use StringRef instead of raw pointer (NFC)Mehdi Amini2016-10-013-4/+4
| | | | llvm-svn: 283012
* Revert "Use StringRef in Datalayout API (NFC)"Mehdi Amini2016-10-013-4/+4
| | | | | | This reverts commit r283009. Bots are broken. llvm-svn: 283011
* Add unit tests for specific instruction patterns that the x86Jason Molenda2016-10-011-0/+519
| | | | | | | | | | | | | assembly inspection class is designed to detect. This is only about half of the instructions that it needs to recognize - I'll complete this in a separate checkin. The larger full-function style test cases I'd checked in previously covered nearly all of these already, but I wanted simpler test cases too, so if they fail in the future, it will be easier to spot the issue. llvm-svn: 283010
* Use StringRef in Datalayout API (NFC)Mehdi Amini2016-10-013-4/+4
| | | | llvm-svn: 283009
* Use StringRef in Pass Info/Support API (NFC)Mehdi Amini2016-10-013-4/+6
| | | | llvm-svn: 283008
* Use StringRef in CommandLine Options handling (NFC)Mehdi Amini2016-10-016-136/+136
| | | | llvm-svn: 283007
* Use StringRef instead of raw pointer in MachinePassRegistry (NFC)Mehdi Amini2016-10-011-12/+14
| | | | llvm-svn: 283006
* Use StringRef in TLI instead of raw pointer (NFC)Mehdi Amini2016-10-012-18/+16
| | | | llvm-svn: 283005
* Use StringRef in Pass/PassManager APIs (NFC)Mehdi Amini2016-10-01217-398/+260
| | | | llvm-svn: 283004
* Revert "AMDGPU: Don't use offen if it is 0"Mehdi Amini2016-10-0112-180/+81
| | | | | | | This reverts commit r282999. Tests are not passing: http://lab.llvm.org:8011/builders/clang-x86_64-linux-selfhost-modules/builds/20038 llvm-svn: 283003
* Remove getTargetTriple and update all uses to use the Triple offEric Christopher2016-10-012-11/+2
| | | | | | of the TargetMachine. NFC. llvm-svn: 283002
* Stop calling getTargetTriple off of the AsmPrinter and constructing aEric Christopher2016-10-011-2/+2
| | | | | | TargetTriple, just grab it off of the TargetMachine. NFC. llvm-svn: 283001
* Remove TargetTriple from AArch64MCInstLower as it's used in few placesEric Christopher2016-10-011-3/+4
| | | | | | and can be pulled from the TargetMachine. NFC. llvm-svn: 283000
* AMDGPU: Don't use offen if it is 0Matt Arsenault2016-10-0112-81/+180
| | | | | | This removes many re-initializations of a base register to 0. llvm-svn: 282999
* Use StringRef in LTOCodegenerator (NFC)Mehdi Amini2016-10-012-8/+8
| | | | llvm-svn: 282998
* Use StringRef in LTOModule implementation (NFC)Mehdi Amini2016-10-014-62/+63
| | | | llvm-svn: 282997
* Use StringRef in Triple API (NFC)Mehdi Amini2016-10-013-16/+17
| | | | llvm-svn: 282996
OpenPOWER on IntegriCloud