summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Support mingw toolchain include and lib directories on Arch Linux.Yaron Keren2015-07-201-27/+40
| | | | | | Thanks to Thomas Pochtrager for testing this! llvm-svn: 242660
* Extend misc-unused-parameters to delete parameters of local functions.Daniel Jasper2015-07-202-3/+134
| | | | | | Also see: llvm.org/PR24180. llvm-svn: 242659
* llvm-readobj: Handle invalid references to the string table.Rafael Espindola2015-07-205-7/+23
| | | | llvm-svn: 242658
* Move CHECKs closer to the RUN line.Rafael Espindola2015-07-201-6/+9
| | | | llvm-svn: 242657
* llvm-readobj: call exit(1) on error.Rafael Espindola2015-07-207-92/+61
| | | | | | | | | llvm-readobj exists for testing llvm. We can safely stop the program the first time we know the input in corrupted. This is in preparation for making it handle a few more broken files. llvm-svn: 242656
* Refactor duplicated code. NFC.Rafael Espindola2015-07-201-8/+9
| | | | llvm-svn: 242655
* Initial version of clang-tidy check to find and fix unused parameters.Daniel Jasper2015-07-205-0/+100
| | | | | | Also see: llvm.org/PR24180. llvm-svn: 242654
* [modules] Add (already passing) test for template default argument merging ↵Richard Smith2015-07-193-3/+14
| | | | | | when the template is declared in a namespace. llvm-svn: 242653
* [Sema] Make an assertion stricter.Davide Italiano2015-07-191-1/+1
| | | | | | We now check for the exact range of IdealIndex. llvm-svn: 242652
* asan: fix a testDmitry Vyukov2015-07-191-4/+7
| | | | | | | Page size is not necessary 4096. Use sysconf to obtain page size. llvm-svn: 242651
* [modules] Don't save uninteresting identifiers, and don't consider identifiersRichard Smith2015-07-197-15/+53
| | | | | | | to be interesting just because they are the name of a builtin. Reduces the size of an empty module by over 80% (~100KB). llvm-svn: 242650
* Remove two unused includes, part 2...Nico Weber2015-07-191-1/+0
| | | | llvm-svn: 242649
* Remove two unused includes.Nico Weber2015-07-191-1/+0
| | | | llvm-svn: 242648
* [sanitizer] De-flake one test.Evgeniy Stepanov2015-07-191-1/+2
| | | | | | | signal_segv_handler.cc occasionally fails due to a suspected kernel bug. Increasing the mapped region size seems to make the test pass reliably. llvm-svn: 242647
* Revert "MergeFuncs: Transfer the function parameter attributes to the call site"Arnold Schwaighofer2015-07-194-25/+2
| | | | | | | | It is okay to not transfer parameter attributes. This reverts commit r242558. llvm-svn: 242646
* [X86][SSE] Tidied up vector CTLZ/CTTZ. NFCI.Simon Pilgrim2015-07-194-386/+388
| | | | llvm-svn: 242645
* Narrow Callee scope, suggestion from David Blaikie.Yaron Keren2015-07-191-3/+3
| | | | llvm-svn: 242644
* [X86][SSE] Reordered cast vectorization costs. NFCI.Simon Pilgrim2015-07-191-47/+48
| | | | | | Reordered the data tables at the top and placed the lookups after. The first stage in the yak shaving necessary to get more accurate costs for a variety of targets given the recent improvements to SINT_TO_FP/UINT_TO_FP/SIGN_EXTEND vector lowering. llvm-svn: 242643
* libunwind: Introduce __libunwind_config.h.Logan Chien2015-07-1911-35/+55
| | | | | | | Introduce __libunwind_config.h to avoid cross repository circular dependency with libcxxabi. llvm-svn: 242642
* De-duplicate CS.getCalledFunction() expression.Yaron Keren2015-07-191-1/+2
| | | | | | | Not sure if the optimizer will save the call as getCalledFunction() is not a trivial access function but the code is clearer this way. llvm-svn: 242641
* [DAGCombiner] Fixed minor typo that was missed in D9097.Simon Pilgrim2015-07-191-2/+2
| | | | | | We don't bitcast the UNDEFs - that is done in visitVECTOR_SHUFFLE, and the getValueType should come from the operand's SDValue not the SDNode. llvm-svn: 242640
* [X86] Add support for tbyte memory operand size for Intel-syntax x86 assemblyMichael Kuperstein2015-07-192-0/+3
| | | | | | | Differential Revision: http://reviews.llvm.org/D11257 Patch by: marina.yatsina@intel.com llvm-svn: 242639
* Remove TargetInstrInfo::canFoldMemoryOperandSimon Pilgrim2015-07-196-77/+0
| | | | | | | | | | canFoldMemoryOperand is not actually used anywhere in the codebase - all existing users instead call foldMemoryOperand directly when they wish to fold and can correctly deduce what they need from the return value. This patch removes the canFoldMemoryOperand base function and the target implementations; only x86 had a real (bit-rotted) implementation, although AMDGPU had a preparatory stub that had never needed to be completed. Differential Revision: http://reviews.llvm.org/D11331 llvm-svn: 242638
* AVX-512: Floating point conversions for SKX - DAG Lowering.Elena Demikhovsky2015-07-193-11/+137
| | | | | | | | | | SKX supports conversion for all FP types. Integer types include doublewords and quardwords. I added "Legal" status for these nodes and a bunch of tests. I added "NoVLX" for AVX DAG selection to force VLX instructions selection when VLX is supported. Differential Revision: http://reviews.llvm.org/D11255 llvm-svn: 242637
* Use SDValue bool check. NFCI.Simon Pilgrim2015-07-191-58/+39
| | | | llvm-svn: 242636
* [X86][AVX512BW] add clang intrinsics for pmulhrsw / pmulhuw / pmulhwAsaf Badouh2015-07-193-2/+141
| | | | | | | | also made minor fix in "test_mm512_maskz_permutex2var_epi16" Differential Revision: http://reviews.llvm.org/D11336 llvm-svn: 242635
* Fix warnings in unordered_mapEric Fiselier2015-07-1929-85/+44
| | | | llvm-svn: 242634
* Fix warnings in forwardlistEric Fiselier2015-07-193-6/+6
| | | | llvm-svn: 242633
* Fix warnings in deque testsEric Fiselier2015-07-1911-62/+24
| | | | llvm-svn: 242632
* [LIT] Allow for executeCommand to take the stdin input.Eric Fiselier2015-07-191-3/+3
| | | | | | | | | | | | Summary: This patch allows executeCommand to pass a string to the processes stdin. Reviewers: ddunbar, jroelofs Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D11332 llvm-svn: 242631
* Commit file missing from r242629Eric Fiselier2015-07-191-0/+8
| | | | llvm-svn: 242630
* Fix warnings in array and assoc containersEric Fiselier2015-07-1822-29/+96
| | | | llvm-svn: 242629
* Remove unused typedefs in random and regexEric Fiselier2015-07-182-6/+0
| | | | llvm-svn: 242628
* Cleanup warnings in test/std/deprEric Fiselier2015-07-1812-15/+32
| | | | llvm-svn: 242627
* Fix warnings in test/std/algorithmsEric Fiselier2015-07-186-18/+20
| | | | llvm-svn: 242626
* Fix unused variable warnings in atomic testsEric Fiselier2015-07-185-5/+7
| | | | llvm-svn: 242625
* Fix warnings in test/std/language.supportEric Fiselier2015-07-1810-9/+44
| | | | llvm-svn: 242624
* Enable and fix warnings during the build.Eric Fiselier2015-07-186-19/+29
| | | | | | | | | | | | | | | | | Although CMake adds warning flags, they are ignored in the libc++ headers because the headers '#pragma system header' themselves. This patch disables the system header pragma when building libc++ and fixes the warnings that arose. The warnings fixed were: 1. <memory> - anonymous structs are a GNU extension 2. <functional> - anonymous structs are a GNU extension. 3. <__hash_table> - Embedded preprocessor directives have undefined behavior. 4. <string> - Definition is missing noexcept from declaration. 5. <__std_stream> - Unused variable. llvm-svn: 242623
* [CodeGen] Don't dereference vector::end if the vector can be emptyBenjamin Kramer2015-07-181-1/+1
| | | | | | MSVC complains about this in debug mode. NFC. llvm-svn: 242622
* [X86][SSE] Updated SHL/LSHR i64 vectorization costs.Simon Pilgrim2015-07-184-28/+28
| | | | | | This was missed in D8416. llvm-svn: 242621
* [AggressiveAntiDepBreaker] Use range loops for multimap access.Benjamin Kramer2015-07-181-23/+8
| | | | | | No functionality change intended. llvm-svn: 242620
* Rangify for loops in GlobalDCE, NFC.Yaron Keren2015-07-181-55/+49
| | | | llvm-svn: 242619
* Fix up typos in a couple of tests; due to agressive short-circuiting, they ↵Marshall Clow2015-07-182-2/+10
| | | | | | never failed on clang or gcc, but MSVC whined. Patch by Andrew Parker. llvm-svn: 242618
* Add missing instrumentation in vector::insert - Patch from Anna ZaksEric Fiselier2015-07-183-4/+20
| | | | | | This patch was reviewed as D10859. http://reviews.llvm.org/D10859 llvm-svn: 242617
* [Hexagon] Use composition instead of inheritance from STL typesBenjamin Kramer2015-07-184-50/+27
| | | | | | | | The standard containers are not designed to be inherited from, as illustrated by the MSVC hacks for NodeOrdering. No functional change intended. llvm-svn: 242616
* [AST] Remove StmtRange in favor of an iterator_range.Benjamin Kramer2015-07-1813-205/+228
| | | | | | | | | StmtRange was just a convenient wrapper for two StmtIterators before we had real range support. This removes some of the implicit conversions StmtRange had leading to slightly more verbose code but also should make more obvious what's going on. No functional change intended. llvm-svn: 242615
* [X86][SSE] Added additional fp/int tests.Simon Pilgrim2015-07-182-60/+951
| | | | | | Demonstrates some shortfalls in subvector(cvt(x)) compared to cvt(subvector(x)) patterns - especially on AVX/AVX2 targets. llvm-svn: 242614
* Refreshed tests.Simon Pilgrim2015-07-181-414/+414
| | | | llvm-svn: 242613
* [libcxx] Get is_*_destructible tests passing in C++03.Eric Fiselier2015-07-184-38/+80
| | | | | | | | | | | | Summary: This patch adds proper guards to the is_destructible tests depending on the standard version so that they pass in c++03. Reviewers: mclow.lists, EricWF Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D10047 llvm-svn: 242612
* clang-format: Take nested lines into account when detection C++03Daniel Jasper2015-07-182-32/+57
| | | | | | compatibility and variable alignment. llvm-svn: 242611
OpenPOWER on IntegriCloud