summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* [analyzer] Teach ObjCDeallocChecker about XCTestCaseDevin Coughlin2016-06-222-9/+33
| | | | | | | | | | | Like with SenTestCase, subclasses of XCTestCase follow a "tear down" idiom to release instance variables and so typically do not release ivars in -dealloc. This commit applies the existing special casing for SenTestCase to XCTestCase as well. rdar://problem/25884696 llvm-svn: 273441
* Add support for /Ob1 and -finline-hint-functions flagsHans Wennborg2016-06-2211-10/+130
| | | | | | | | | | | | | | | | Add support for /Ob1 (and equivalent -finline-hint-functions), which enable inlining only for functions marked inline, either explicitly (via inline keyword, for example), or implicitly (function definition in class body, for example). This works by enabling inlining pass, and adding noinline attribute to every function not marked inline. Patch by Rudy Pons <rudy.pons@ilod.org>! Differential Revision: http://reviews.llvm.org/D20647 llvm-svn: 273440
* Fix bug in futex fast path inside kmp_csupport.cJonathan Peyton2016-06-221-1/+1
| | | | llvm-svn: 273439
* Apply the KMP_USE_FUTEX feature macro everywhereJonathan Peyton2016-06-224-23/+25
| | | | llvm-svn: 273438
* Fix separator in header commentTobias Grosser2016-06-221-1/+1
| | | | | | | This cleanup was suggested by Eugene Zelenko <eugene.zelenko@gmail.com> in http://reviews.llvm.org/D21488 and was split out to increase readability. llvm-svn: 273437
* Add missing copyright headerTobias Grosser2016-06-221-0/+9
| | | | | | | This cleanup was suggested by Eugene Zelenko <eugene.zelenko@gmail.com> in http://reviews.llvm.org/D21488 and was split out to increase readability. llvm-svn: 273436
* clang-tidy: apply modern-use-nullptr fixesTobias Grosser2016-06-224-7/+7
| | | | | | | | | | Instead of using 0 or NULL use the C++11 nullptr symbol when referencing null pointers. This cleanup was suggested by Eugene Zelenko <eugene.zelenko@gmail.com> in http://reviews.llvm.org/D21488 and was split out to increase readability. llvm-svn: 273435
* Widen EHScope::ClenupBitFields::FixupDepth to avoid overflowing it (PR23490)Hans Wennborg2016-06-222-9/+37
| | | | | | | | | | | | | | It currently only takes 2048 gotos to overflow the FixupDepth bitfield, causing silent miscompilation. Apparently some parser generators run into this (see PR). I don't know that that data structure is terribly size sensitive anyway, and since there's no room to widen the bitfield, let's just use a separate word in EHCatchScope for it. Differential Revision: http://reviews.llvm.org/D21566 llvm-svn: 273434
* [SystemZ] Recognize RISBG opportunities involving a truncateZhan Jun Liau2016-06-223-3/+68
| | | | | | | | | | | | | | | | | | | Summary: Recognize RISBG opportunities where the end result is narrower than the original input - where a truncate separates the shift/and operations. The motivating case is some code in postgres which looks like: srlg %r2, %r0, 11 nilh %r2, 255 Reviewers: uweigand Author: RolandF Differential Revision: http://reviews.llvm.org/D21452 llvm-svn: 273433
* [Hexagon] Handle expansion of cmpxchgKrzysztof Parzyszek2016-06-223-0/+25
| | | | llvm-svn: 273432
* [codeview] Remove ClassInfoMapReid Kleckner2016-06-222-26/+13
| | | | | | | | | | From a design perspective, complete record type emission should not depend on information from other complete record types. Currently this map is unused, and needlessly accumulates data throughout compilation. llvm-svn: 273431
* [MBFI]: show branch probability in DOT graphXinliang David Li2016-06-221-0/+18
| | | | | | Differential Revision: http://reviews.llvm.org/D21596 llvm-svn: 273430
* llvm-ar: reduce some duplication, NFCSaleem Abdulrasool2016-06-221-27/+19
| | | | | | | Improve the previous change by using a local function to reduce the duplication of the object file scanning. NFC. llvm-svn: 273429
* Upgrade old memset/memcpy signatures (without isVolatile argument) in testsArtur Pilipenko2016-06-225-9/+13
| | | | | | We no longer have corresponding code in autoupgrade and the vast majority of the tests were fixed long time ago. Fix the remaining few. One of the verifier test cases is marked as XFAIL because it was passing only because the signature was incorrect. llvm-svn: 273428
* [ELF] - Simplify loop in parseVersionSymbols(). NFC.George Rimar2016-06-221-4/+2
| | | | llvm-svn: 273427
* [ELF] - Show explicit error if extern keyword is used in version script.George Rimar2016-06-222-0/+7
| | | | | | | Since we do not have plans to support it in closest future, it is better than common script parsing error. llvm-svn: 273426
* [OpenCL] Use function metadata to represent kernel attributesYaxun Liu2016-06-224-81/+93
| | | | | | | | This patch uses function metadata to represent reqd_work_group_size, work_group_size_hint and vector_type_hint kernel attributes and kernel argument info. Differential Revision: http://reviews.llvm.org/D20979 llvm-svn: 273425
* NFC. Move Verifier::verifyIntrinsicType to Intrinsics.hArtur Pilipenko2016-06-223-148/+151
| | | | | | | | | | Move Verifier::verifyIntrinsicType to Intrinsics::matchIntrinsicsType. Will be used to accumulate overloaded types of a given intrinsic by the upcoming patch to fix intrinsics names when overloaded types are renamed. Reviewed By: reames Differential Revision: http://reviews.llvm.org/D19372 llvm-svn: 273424
* [ELF] - Implemented version script hierarchies.George Rimar2016-06-224-4/+84
| | | | | | | | | | | | | | | | | | | | Patch implements hierarchies for version scripts. This allows to handle script files with dependencies, like next one has: LIBSAMPLE_1.0{ global: a; }; LIBSAMPLE_2.0 { global: b; }LIBSAMPLE_1.0; Differential revision: http://reviews.llvm.org/D21556 llvm-svn: 273423
* clang-format: [JS] Do not break before 'as'.Martin Probst2016-06-222-2/+7
| | | | | | | | | | | | | | Summary: 'as' is a pseudo operator, so automatic semicolon insertion kicks in and the code fails to part. Reviewers: djasper Subscribers: klimek Differential Revision: http://reviews.llvm.org/D21576 llvm-svn: 273422
* [InstSimplify] add ashr tests including vector typesSanjay Patel2016-06-221-0/+42
| | | | llvm-svn: 273421
* [SLPVectorizer][X86] Added ceil/floor/nearbyint/rint/trunc vectorization testsSimon Pilgrim2016-06-221-0/+2158
| | | | llvm-svn: 273420
* [InstSimplify] regenerate checksSanjay Patel2016-06-221-212/+256
| | | | llvm-svn: 273419
* Update testcases after r273417, which changed llvm-readobj output slightly.George Rimar2016-06-222-45/+31
| | | | llvm-svn: 273418
* [llvm-readobj] - Teach llvm-readobj to print dependencies of SHT_GNU_verdef ↵George Rimar2016-06-222-52/+49
| | | | | | | | | | | | | | | and refactor dumping method. This patch changes single method of llvm-readobj. It teaches SHT_GNU_verdef dumper to print version dependencies, also it removes few fields from output that can be dumped with other keys and slightly refactors code. Testcase was also modified to match the changes. Change is required for testcases of upcoming lld patches. Differential revision: http://reviews.llvm.org/D21552 llvm-svn: 273417
* Regenerated testSimon Pilgrim2016-06-221-1/+1
| | | | llvm-svn: 273404
* [SDAG] Remove FixedArgs parameter from CallLoweringInfo::setCalleeKrzysztof Parzyszek2016-06-2220-43/+38
| | | | | | | | | | | The setCallee function will set the number of fixed arguments based on the size of the argument list. The FixedArgs parameter was often explicitly set to 0, leading to a lack of consistent value for non- vararg functions. Differential Revision: http://reviews.llvm.org/D20376 llvm-svn: 273403
* Delete more dead code.Rafael Espindola2016-06-229-229/+0
| | | | | | Found by gcc 6. llvm-svn: 273402
* [Clang][bmi][intrinsics] Adding _mm_tzcnt_64 _mm_tzcnt_32 intrinsics to clang.Michael Zuckerman2016-06-222-0/+46
| | | | | | Differential Revision: http://reviews.llvm.org/D21373 llvm-svn: 273401
* [NFC] Use isl_schedule_node_band_n_member to get the number of dimensions of ↵Roman Gareev2016-06-221-9/+4
| | | | | | a band node. llvm-svn: 273400
* Added new line at the end of file. NFC.George Rimar2016-06-221-1/+1
| | | | llvm-svn: 273399
* [ELF] - Do not crash on unclosed quote (") in scripts.George Rimar2016-06-222-1/+6
| | | | | | | Found that during investigation of FreeBsd scripts. Unclosed quote just crashed lld. llvm-svn: 273398
* Apply all necessary tilings and unrollings to get a micro-kernelRoman Gareev2016-06-223-8/+210
| | | | | | | | | | | | | | | | | | | | | This is the first patch to apply the BLIS matmul optimization pattern on matmul kernels (http://www.cs.utexas.edu/users/flame/pubs/TOMS-BLIS-Analytical.pdf). BLIS implements gemm as three nested loops around a macro-kernel, plus two packing routines. The macro-kernel is implemented in terms of two additional loops around a micro-kernel. The micro-kernel is a loop around a rank-1 (i.e., outer product) update. In this change we create the BLIS micro-kernel by applying a combination of tiling and unrolling. In subsequent changes we will add the extraction of the BLIS macro-kernel and implement the packing transformation. Contributed-by: Roman Gareev <gareevroman@gmail.com> Reviewed-by: Tobias Grosser <tobias@grosser.es> Differential Revision: http://reviews.llvm.org/D21140 llvm-svn: 273397
* [ELF] - Do not allow to mix global symbols versions.George Rimar2016-06-222-1/+15
| | | | | | | | | | | | | | | | | | | | | | | | | For next version script: VER1{ global: a; }; VER2{ global: a; }; gold would produce warning like: "warning: using 'VER1' as version for 'a' which is also named in version 'VER2' in script." Documentation also says we do not want this duplications (https://people.freebsd.org/~deischen/symver/library_versioning.txt): "Note that you do not want to duplicate symbols in the map file. The .symver directives are all that is required to add compatibility symbols into old versions." This patch restricts such mixing and makes lld to produce error in this case. Differential revision: http://reviews.llvm.org/D21555 llvm-svn: 273396
* Run list debug copy test in C++03.Eric Fiselier2016-06-221-3/+2
| | | | llvm-svn: 273395
* Finish converting list _LIBCPP_DEBUG tests.Eric Fiselier2016-06-2212-118/+206
| | | | llvm-svn: 273394
* Cleanup _LIBCPP_DEBUG tests in std::list. More to come.Eric Fiselier2016-06-2214-246/+122
| | | | llvm-svn: 273393
* Cleanup filesystem::permissions ever more.Eric Fiselier2016-06-221-20/+15
| | | | llvm-svn: 273392
* Avoid unnecessary stat call in filesystem::permissions implementation.Eric Fiselier2016-06-221-1/+2
| | | | llvm-svn: 273391
* Disable ccache usage for .fail.cpp tests. It causes bugs.Eric Fiselier2016-06-222-10/+19
| | | | llvm-svn: 273390
* [AVX512] Use a __v8hi vector inside of _mm_setzero_hi to match its name. ↵Craig Topper2016-06-221-1/+1
| | | | | | Probably no real functional change. llvm-svn: 273389
* [AVX512] Fix _mm_setzero_di to not require avx512vl since its used by the ↵Craig Topper2016-06-222-3/+4
| | | | | | avx512dqintrin.h. Also update the avx512dq test to not enable avx512vl feature so we can ensure correct dependencies. llvm-svn: 273388
* [AVX512] __builtin_ia32_reducesd_mask and __builtin_ia32_reducess_mask ↵Craig Topper2016-06-221-2/+2
| | | | | | should not require avx512vl. llvm-svn: 273387
* [AVX512] Add missing typecasts to intrinsics.Craig Topper2016-06-221-4/+4
| | | | llvm-svn: 273386
* Placate MSVC's unchecked malloc warning in thread tests.Eric Fiselier2016-06-221-1/+3
| | | | llvm-svn: 273385
* Use correct Clang feature names. I got them wrong in the previous commitEric Fiselier2016-06-221-2/+2
| | | | llvm-svn: 273384
* Support old GCC exception and rtti detection macrosEric Fiselier2016-06-221-2/+4
| | | | llvm-svn: 273383
* Add tests for RTTI/exceptions test macros.Eric Fiselier2016-06-225-0/+105
| | | | llvm-svn: 273382
* Fix exception/rtti detection in tests.Eric Fiselier2016-06-221-2/+2
| | | | | | | | | | So the macros TEST_HAS_NO_EXCEPTIONS and TEST_HAS_NO_RTTI were always getting defined because I spelt __cpp_exceptions and __cpp_rtti as __cxx_exceptions and __cxx_rtti. Tests incoming after this patch. llvm-svn: 273381
* [LTO] Move UpdateCompilerUsed.h from lib/ to include/Davide Italiano2016-06-224-4/+3
| | | | | | | | I plan to use it in lld soon. Differential Revision: http://reviews.llvm.org/D21575 llvm-svn: 273380
OpenPOWER on IntegriCloud