summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* [X86][SSE2] Fixed shuffle of results in _mm_cmpnge_sd/_mm_cmpngt_sd testsSimon Pilgrim2016-05-191-0/+8
| | | | llvm-svn: 270079
* CodeGen: Move check of EnablePostRAScheduler to avoid disabling ↵Mitch Bodart2016-05-191-11/+12
| | | | | | | | | | | | antidependency breaker Previously, specifying -post-RA-scheduler=true had the side effect of disabling the antidependency breaker, yielding different behavior than if the post-RA-scheduler was enabled via the scheduling model. Differential Revision: http://reviews.llvm.org/D20186 llvm-svn: 270077
* Revert "[sanitizer] Move *fstat to the common interceptors"Benjamin Kramer2016-05-195-118/+118
| | | | | | | This reverts commit r269981. Breaks msan tests on linux http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux/builds/24019/steps/test%20standalone%20compiler-rt/logs/stdio llvm-svn: 270076
* Temporarily revert r270070George Rimar2016-05-195-33/+48
| | | | | | | | | | | | | | | | | | | | | | It broke buildbot: http://lab.llvm.org:8011/builders/clang-s390x-linux/builds/4817/steps/ninja%20check%201/logs/stdio Actually it is just because D20273 not yet commited, but these 2 were crossing with each other, and I`ll better find the way to land them separatelly soon. Initial commit message: [llvm-mc] - Teach llvm-mc to generate compressed debug sections in zlib style. Before this patch llvm-mc generated zlib-gnu styled sections. That means no SHF_COMPRESSED flag was set, magic 'zlib' signature was used in combination with full size field. Sections were renamed to "*.z*". This patch reimplements the compression style to zlib one as zlib-gnu looks to be depricated everywhere. Differential revision: http://reviews.llvm.org/D20331 llvm-svn: 270075
* [SCCP] Prefer class to struct.Davide Italiano2016-05-192-3/+6
| | | | llvm-svn: 270074
* [SelectionDAG] rename/move isKnownToBeAPowerOfTwo() from TargetLowering (NFC)Sanjay Patel2016-05-193-32/+35
| | | | | | | | | There are at least 2 places (DAGCombiner, X86ISelLowering) where this could be used instead of ad-hoc and watered down code that is trying to match a power-of-2 pattern. Differential Revision: http://reviews.llvm.org/D20439 llvm-svn: 270073
* [LAA] Check independence of strided accesses before forward caseMatthew Simpson2016-05-192-10/+56
| | | | | | | | | | | | This patch changes the order in which we attempt to prove the independence of strided accesses. We previously did this after we knew the dependence distance was positive. With this change, we check for independence before handling the negative distance case. The patch prevents LAA from reporting forward dependences for independent strided accesses. This change was requested in the review of D19984. llvm-svn: 270072
* [tsan] Add support for GCD's dispatch_after and dispatch_after_fKuba Brecka2016-05-192-0/+64
| | | | | | | | We're missing interceptors for dispatch_after and dispatch_after_f. Let's add them to avoid false positives. Added a test case. Differential Revision: http://reviews.llvm.org/D20426 llvm-svn: 270071
* [llvm-mc] - Teach llvm-mc to generate compressed debug sections in zlib style.George Rimar2016-05-195-48/+33
| | | | | | | | | | | | Before this patch llvm-mc generated zlib-gnu styled sections. That means no SHF_COMPRESSED flag was set, magic 'zlib' signature was used in combination with full size field. Sections were renamed to "*.z*". This patch reimplements the compression style to zlib one as zlib-gnu looks to be depricated everywhere. Differential revision: http://reviews.llvm.org/D20331 llvm-svn: 270070
* [driver] Do not pass install dir to the MultilibSet include dirs callbackSimon Atanasyan2016-05-192-43/+26
| | | | | | | | All additional include directories are relative to the toolchain install folder. So let's do not pass this folder to each callback to simplify and slightly reduce the code. llvm-svn: 270069
* [driver] Do not pass target triple to the MultilibSet include dirs callbackSimon Atanasyan2016-05-192-13/+11
| | | | | | | No one callback uses target triple so we can escape passing the unused argument. llvm-svn: 270068
* [driver][mips] Hardcode triple name in case of CodeSourcery toolchain. NFCSimon Atanasyan2016-05-191-1/+1
| | | | | | | | CodeSourcery toolchain is a standalone toolchain which always uses the same triple name in its paths. It is independent from target triple used by the driver. llvm-svn: 270067
* [AArch64 ] Generate a BFXIL from 'or (and X, Mask0Imm),(and Y, Mask1Imm)'.Chad Rosier2016-05-192-0/+126
| | | | | | | | | | | | | | | | | | Mask0Imm and ~Mask1Imm must be equivalent and one of the MaskImms is a shifted mask (e.g., 0x000ffff0). Both 'and's must have a single use. This changes code like: and w8, w0, #0xffff000f and w9, w1, #0x0000fff0 orr w0, w9, w8 into lsr w8, w1, #4 bfi w0, w8, #4, #12 llvm-svn: 270063
* Avoid an assertion failure when a bit field is extracted from a value of the ↵Bryan Chan2016-05-192-2/+26
| | | | | | | | | | | | | | same size. Summary: One of the cases handled by ValueObjectChild::UpdateValue() uses the entire width of the parent's scalar value as the size of the child, and extracts the child by calling Scalar::ExtractBitfield(). This seems valid but APInt::trunc(), APInt::sext() and APInt::zext() assert that the bit field must not have the same size as the parent scalar. Replacing those calls with sextOrTrunc(), zextOrTrunc(), sextOrSelf() and zextOrSelf() fixes the assertion failures. Reviewers: uweigand, labath Subscribers: labath, lldb-commits Differential Revision: http://reviews.llvm.org/D20355 llvm-svn: 270062
* Revert "Optimistic assume required invariant loads to be invariant"Johannes Doerfert2016-05-195-107/+12
| | | | | | | This reverts commit 787e642207ca978f2e800140529fc7049ea1f3de until the lnt failures are fixed. llvm-svn: 270061
* Optimistic assume required invariant loads to be invariantJohannes Doerfert2016-05-195-12/+107
| | | | | | | | So far we bailed if a required invariant load was potentially overwritten in the SCoP. From now on we will optimistically assume it is actually invariant and, to this end, restrict the valid parameter space. llvm-svn: 270060
* [include-fixer] Remove an unused local variable ExistingHeaders.Haojian Wu2016-05-191-2/+0
| | | | llvm-svn: 270059
* [ARM] Fix cdp intrinsicRanjeet Singh2016-05-193-2/+28
| | | | | | | | | | | - Fixed cdp intrinsic to only accept compile time constant values previously you could pass in a variable to the builtin which would result in illegal llvm assembly output Differential Revision: http://reviews.llvm.org/D20394 llvm-svn: 270058
* [ARM] Add cdp intrinsic tests.Ranjeet Singh2016-05-193-8/+34
| | | | | | | | | | - Renamed intrinsics.ll to intrinsics-coprocessor.ll as all the tests were testing coprocessor instructions, also made the test checks match the full instruction. Differential Revision: http://reviews.llvm.org/D20393 llvm-svn: 270057
* Test commit.Ranjeet Singh2016-05-191-1/+1
| | | | llvm-svn: 270056
* [include-fixer] Make search handle fully qualified names correctly.Benjamin Kramer2016-05-192-0/+17
| | | | | | | | | If a search string starts with "::" we don't want to return any results for suffixes of that string. Differential Revision: http://reviews.llvm.org/D20424 llvm-svn: 270055
* Move internal enum out of class declaration [NFC]Johannes Doerfert2016-05-192-13/+13
| | | | llvm-svn: 270054
* Propagate the DetectionContext to the SCoP [NFC]Johannes Doerfert2016-05-195-252/+134
| | | | | | | The SCoP now holds a reference to the ScopDetection::DetectionContext which allows to simplify the type of various methods and remove code. llvm-svn: 270053
* Compute the MaxLoopDepth during domain construction [NFC]Johannes Doerfert2016-05-193-37/+8
| | | | llvm-svn: 270052
* Remove leftover debug output [NFC]Johannes Doerfert2016-05-191-1/+0
| | | | llvm-svn: 270051
* Remove unsused methodes [NFC]Johannes Doerfert2016-05-192-12/+0
| | | | llvm-svn: 270050
* [AMDGPU][llvm-mc] Fixes to support buffer atomics.Artem Tamazov2016-05-195-12/+413
| | | | | | | | | | | | Fixes for MUBUF_Atomic instructions to make operand list valid: - For RTN insns, make a copy of $vdata_in operand as $vdata. - Do not add operand for GLC, it is hardcoded and comes as a token. Workaround to avoid adding multiple default optional operands. Tests added. Differential Revision: http://reviews.llvm.org/D20257 llvm-svn: 270049
* ps][microMIPS] Add R_MICROMIPS_PC21_S1 relocationZoran Jovanovic2016-05-197-4/+42
| | | | | | Differential Revision: http://reviews.llvm.org/D15526 llvm-svn: 270048
* [Clang][AVX512][intrinsics] continue completing missing set intrinsicsMichael Zuckerman2016-05-192-0/+181
| | | | | | Differential Revision: http://reviews.llvm.org/D20160 llvm-svn: 270047
* [X86][SSE2] Added _mm_move_* testsSimon Pilgrim2016-05-191-0/+31
| | | | llvm-svn: 270046
* [include-fixer] Remove obsolete windows hack.Benjamin Kramer2016-05-191-4/+2
| | | | llvm-svn: 270045
* Revert r270038 ("Change preprocessor `#if` to regular `if` for ↵Kuba Brecka2016-05-191-8/+8
| | | | | | CAN_SANITIZE_LEAKS") llvm-svn: 270044
* [X86][SSE2] Added _mm_move_* testsSimon Pilgrim2016-05-191-0/+15
| | | | llvm-svn: 270043
* [X86][SSE2] Added _mm_cast* and _mm_set* testsSimon Pilgrim2016-05-191-0/+236
| | | | llvm-svn: 270042
* [X86][SSE2] Added _mm_cast* and _mm_set* testsSimon Pilgrim2016-05-191-0/+720
| | | | llvm-svn: 270041
* Fix build after rL270009Tamas Berghammer2016-05-191-1/+0
| | | | llvm-svn: 270040
* [Sema] Allow an external sema source to handle delayed typo corrections.Benjamin Kramer2016-05-192-23/+90
| | | | | | | This probably isn't perfectly perfect but allows correcting function calls again. llvm-svn: 270039
* [asan] Change preprocessor `#if` to regular `if` for CAN_SANITIZE_LEAKSKuba Brecka2016-05-191-8/+8
| | | | llvm-svn: 270038
* [mips][mips16] Fix ZERO is not a CPU16Regs register error from the machine ↵Daniel Sanders2016-05-192-2/+3
| | | | | | | | | | | | | | verifier. Summary: Partially fixes PR27458 Reviewers: sdardis Subscribers: dsanders, llvm-commits, sdardis Differential Revision: http://reviews.llvm.org/D20330 llvm-svn: 270037
* [X86] Enable RRL part of the LEA optimization pass for -O2.Andrey Turetskiy2016-05-192-30/+47
| | | | | | | | | | Enable "Remove Redundant LEAs" part of the LEA optimization pass for -O2. This gives 6.4% performance improve on Broadwell on nnet benchmark from Coremark-pro. There is no significant effect on other benchmarks (Geekbench, Spec2000, Spec2006). Differential Revision: http://reviews.llvm.org/D19659 llvm-svn: 270036
* [X86][SSE2] Sync with llvm/test/CodeGen/X86/sse2-intrinsics-fast-isel.llSimon Pilgrim2016-05-191-53/+107
| | | | llvm-svn: 270034
* [clang-tidy] Fix/add style guide links.Alexander Kornienko2016-05-194-2/+15
| | | | | | Thanks to Tim Halloran for the initial patch (http://reviews.llvm.org/D15089)! llvm-svn: 270033
* [clang-tidy] Fix doc titles.Alexander Kornienko2016-05-195-1/+12
| | | | llvm-svn: 270032
* [include-fixer] Sort headers after inserting new headers.Eric Liu2016-05-196-59/+134
| | | | | | | | | | | | Summary: [include-fixer] Sort headers after inserting new headers. Reviewers: bkramer Subscribers: klimek, djasper, hokein, cfe-commits Differential Revision: http://reviews.llvm.org/D20370 llvm-svn: 270031
* [mips][microMIPS] Implement BC1EQZC, BC1NEZC, BC2EQZC and BC2NEZC instructionsZlatko Buljan2016-05-1910-4/+111
| | | | | | Differential Revision: http://reviews.llvm.org/D18352 llvm-svn: 270030
* clang-format: [JS] Fix spacing in destructuring assignments.Daniel Jasper2016-05-192-1/+2
| | | | | | | | | | Before: const[a, b, c] = [1, 2, 3]; After: const [a, b, c] = [1, 2, 3]; llvm-svn: 270029
* clang-format: Fix incorrect indentation in last line of macro definitionDaniel Jasper2016-05-192-0/+8
| | | | | | | | | | | | | | | | | | Before: #define MACRO(a) \ if (a) { \ f(); \ } else \ g() After: #define MACRO(a) \ if (a) { \ f(); \ } else \ g() llvm-svn: 270028
* clang-format: Fix enumerator case ranges.Daniel Jasper2016-05-192-1/+3
| | | | | | | | | | Before: case a... b: break; After: case a ... b: break; llvm-svn: 270027
* [X86] Generalize and combine some similar type constraints and node types. ↵Craig Topper2016-05-192-88/+57
| | | | | | No changes to the isel table size so the separation wasn't buying us anything. llvm-svn: 270026
* [X86] Simplify some type constraints by removing parts that were already ↵Craig Topper2016-05-191-12/+5
| | | | | | implied. llvm-svn: 270025
OpenPOWER on IntegriCloud