summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* [sanitizer] Fix check for i386 Android in lit testsVitaly Buka2017-09-166-6/+6
| | | | llvm-svn: 313452
* [X86] Remove the vperm2f128 test file I just added in r313450.Craig Topper2017-09-161-229/+0
| | | | | | I missed the we already had a pretty thorough test file for these instructions. llvm-svn: 313451
* [X86] Remove VPERM2F128/VPERM2I128 intrinsics and autoupgrade to native ↵Craig Topper2017-09-1611-470/+365
| | | | | | | | shuffles. I've moved the test cases from the InstCombine optimizations to the backend to keep the coverage we had there. It covered every possible immediate so I've preserved the resulting shuffle mask for each of those immediates. llvm-svn: 313450
* [sanitizer] Move signal interceptors from asan to sanitizer_commonVitaly Buka2017-09-164-50/+73
| | | | | | | | | | | | Summary: Part of https://github.com/google/sanitizers/issues/637 Reviewers: eugenis, alekseyshl Subscribers: srhines, kubamracek, llvm-commits Differential Revision: https://reviews.llvm.org/D37889 llvm-svn: 313449
* [X86] Fix some FileCheck lines that use the wrong prefix.Craig Topper2017-09-161-12/+12
| | | | | | Assume they were moved during autoupgrading and not changed. llvm-svn: 313448
* [sanitizer] Disable sanitizer test which already fails on Android i386Vitaly Buka2017-09-166-9/+17
| | | | llvm-svn: 313447
* Remove comment accidentally committed with D36642. NFC.Vedant Kumar2017-09-161-2/+1
| | | | llvm-svn: 313446
* [sanitizer] Support check-asan on AndroidVitaly Buka2017-09-1610-8/+32
| | | | | | This patch enabled asan tests from sanitizer_common. llvm-svn: 313444
* [sanitizer] Move android_commoands from asan into sanitizer_commonVitaly Buka2017-09-168-15/+14
| | | | llvm-svn: 313443
* Fix compatibility with OpenOCD debug stub.Vadim Chugunov2017-09-162-7/+5
| | | | | | | | OpenOCD sends register classes as two separate <feature> nodes, fixed parser to process both of them. OpenOCD returns "l" in response to "qfThreadInfo", so IsUnsupportedResponse() was false and we were ending up without any threads in the process. I think it's reasonable to assume that there's always at least one thread. llvm-svn: 313442
* [builtins] Remove one more missed not-androidVitaly Buka2017-09-161-1/+0
| | | | llvm-svn: 313441
* [asan] Remove not-androidVitaly Buka2017-09-166-7/+5
| | | | | | Replaced with !android llvm-svn: 313440
* Revert "[ubsan] Update ubsan_interface.inc"Vitaly Buka2017-09-161-2/+0
| | | | | | | | This brakes interface_symbols_linux.c test. This reverts commit r313432. llvm-svn: 313439
* [asan] Enable asan_and_llvm_coverage_test.cc on AndroidVitaly Buka2017-09-163-7/+7
| | | | | | Test just needs profile. llvm-svn: 313438
* Check availability of accept4 in C++ instad of C code.Eugene Zemtsov2017-09-161-1/+1
| | | | llvm-svn: 313437
* More precise c library feature detection for Android.Eugene Zemtsov2017-09-163-2/+3
| | | | llvm-svn: 313436
* [git] Update the llvm git helper script to work correctly with theChandler Carruth2017-09-161-1/+1
| | | | | | latest Python versions. llvm-svn: 313435
* [X86] Don't set reserved bits in the immediate in the test cases for vperm2f128.Craig Topper2017-09-161-6/+6
| | | | | | I'm going to autoupgrade these intrinsics in a future commit. This bit will never be set in the resulting output so pre-removing the bit. llvm-svn: 313434
* [X86] Remove slash in front of a CHECK line in a test.Craig Topper2017-09-161-1/+1
| | | | llvm-svn: 313433
* [ubsan] Update ubsan_interface.incVitaly Buka2017-09-161-0/+2
| | | | llvm-svn: 313432
* Revert "Fix Bug 30978 by emitting cv file checksums."Eric Beckmann2017-09-1616-310/+81
| | | | | | | | | | | This reverts commit 6389e7aa724ea7671d096f4770f016c3d86b0d54. There is a bug in this implementation where the string value of the checksum is outputted, instead of the actual hex bytes. Therefore the checksum is incorrect, and this prevent pdbs from being loaded by visual studio. Revert this until the checksum is emitted correctly. llvm-svn: 313431
* [WebAssembly] Restore __builtin_wasm_rethrow builtinHeejin Ahn2017-09-163-0/+11
| | | | | | | | | | | | | | | | Summary: Restore the `__builtin_wasm_rethrow` builtin deleted in D37931. On second thought, it appears it can be used to implement `__cxa_rethrow`. Reviewers: dschuff, sunfish Reviewed By: dschuff Subscribers: jfb, sbc100, jgravelle-google Differential Revision: https://reviews.llvm.org/D37942 llvm-svn: 313430
* Revert lit changes related to lit.llvm module.Zachary Turner2017-09-166-172/+157
| | | | | | | | It looks like this is going to be non-trivial to get working in both Py2 and Py3, so for now I'm reverting until I have time to fully test it under Python 3. llvm-svn: 313429
* [lit] Fix another Python 3 error.Zachary Turner2017-09-161-1/+8
| | | | | | | Apparently we have a buildbot running Python 3. This is going to be fun :-/ llvm-svn: 313428
* [lit] Better check for integral value.Zachary Turner2017-09-161-1/+2
| | | | | | | Some versions of python don't have 'long'. Use numbers.Number instead. llvm-svn: 313427
* Resubmit "[lit] Add a lit.llvm module that all llvm projects can use"Zachary Turner2017-09-166-157/+164
| | | | | | | This was reverted alongside the revert of the lit/llvm-lit refactor, but now that that has re-landed, I'm relanding this as well. llvm-svn: 313426
* [docs] add Windows examples to ThinLTO.rstBob Haarman2017-09-161-5/+21
| | | | | | | | | | | | Reviewers: pcc, ruiu Reviewed By: ruiu Subscribers: mehdi_amini, eraman, cfe-commits Differential Revision: https://reviews.llvm.org/D37943 llvm-svn: 313425
* [X86] Remove usages of vperm2f intrinsics from fast isel tests to match what ↵Craig Topper2017-09-152-4/+4
| | | | | | clang generates after r313418. llvm-svn: 313424
* Try to fix check-asan.Peter Collingbourne2017-09-151-0/+1
| | | | llvm-svn: 313423
* [llvm-cov] Fix a bot failure due to r313417Vedant Kumar2017-09-151-3/+3
| | | | | | | | | There's a type mismatch issue with the arguments to a call to std::min introduced in r313417. http://lab.llvm.org:8011/builders/clang-cmake-thumbv7-a15/builds/11174 llvm-svn: 313422
* [libFuzzer] add linux-specific test for gc-sectionsKostya Serebryany2017-09-152-0/+27
| | | | llvm-svn: 313421
* [X86] Remove GCCBuiltin names from perm2f128/perm2i128 intrinsics so we can ↵Craig Topper2017-09-151-4/+3
| | | | | | provide a custom implementation in clang. llvm-svn: 313420
* llvm-dwarfdump: Add support for -debug-info=<offset>.Adrian Prantl2017-09-155-59/+151
| | | | | | | | | This is the first of many commits that enable selectively dumping just one record from the debug info. This reapplies r313412 with some extra qualification to appease GCC and MSVC. llvm-svn: 313419
* [X86] Use native shuffle vector for the perm2f128 intrinsicsCraig Topper2017-09-153-5/+44
| | | | | | | | | | This patch replaces the perm2f128 intrinsics with native shuffle vectors. This uses a pretty simple approach to allocate source 0 to the lower half input and source 1 to the upper half input. Then its just a matter of filling in the indices to use either the lower or upper half of that specific source. This can result in the same source being used by both operands. InstCombine or SelectionDAGBuilder should be able to clean that up. Differential Revision: https://reviews.llvm.org/D37892 llvm-svn: 313418
* [llvm-cov] Avoid over-counting covered lines and regionsVedant Kumar2017-09-159-8/+109
| | | | | | | | | | | | | | | | * Fix an unsigned integer overflow in the logic that computes the number of uncovered lines in a function. * When aggregating region and line coverage summaries, take into account that different instantiations may have a different number of regions. The new test case provides test coverage for both bugs. I also verified this change by preparing a coverage report for a stage2 build of llc -- the new assertions should detect any outstanding over-counting bugs. Fixes PR34613. llvm-svn: 313417
* [llvm-cov] Make some summary info fields private. NFC.Vedant Kumar2017-09-155-51/+74
| | | | | | | | There's a bug in the way the line and region summary objects are merged. It would have been less likely to occur if those objects kept some data private. llvm-svn: 313416
* [llvm-cov] Remove a redundant field. NFC.Vedant Kumar2017-09-154-22/+15
| | | | | | | | | | The "NotCovered" fields in the region and line summary structs are redundant. We should remove them to make the code clearer. As a follow-up, the "NotCovered" entries should be removed from the reports as well. llvm-svn: 313415
* Revert r303378: Set IMAGE_DLL_CHARACTERISTICS_NO_BIND.Rui Ueyama2017-09-155-10/+13
| | | | | | | | | | r303378 was submitted because r303374 (Merge IAT and ILT) made lld's output incompatible with the Binding feature. Now that r303374 was reverted, we do not need to keep this change. Pointed out by pcc. llvm-svn: 313414
* Revert "llvm-dwarfdump: Add support for -debug-info=<offset>."Adrian Prantl2017-09-155-147/+59
| | | | | | This reverts commit r313412 because of a g++ incompatibility. llvm-svn: 313413
* llvm-dwarfdump: Add support for -debug-info=<offset>.Adrian Prantl2017-09-155-59/+147
| | | | | | | This is the first of many commits that enable selectively dumping just one record from the debug info. llvm-svn: 313412
* [libFuzzer] test fixKostya Serebryany2017-09-151-1/+1
| | | | llvm-svn: 313411
* [TargetTransformInfo] Static alloca has 0 costGuozhi Wei2017-09-152-0/+13
| | | | | | | | Static alloca usually doesn't generate any machine instructions, so it has 0 cost. Differential Revision: https://reviews.llvm.org/D37879 llvm-svn: 313410
* [SLP] Revert r312791 and other necessary commits, except for TTI andChandler Carruth2017-09-153-2068/+1231
| | | | | | | | | | | | | | | | | | | | | | | | | | CostModel. The original patch added support for horizontal min/max reductions to the SLP vectorizer. This patch causes LLVM to miscompile fairly simple signed min reductions. I have attached a test progrom to http://llvm.org/PR34635 that shows the behavior change after this patch. We found this in a test for the open source Eigen library, but also in other code. Unfortunately, the revert is moderately challenging. It required reverting: r313042: [SLP] Test with multiple uses of conditional op and wrong parent. r312853: [SLP] Fix buildbots, NFC. r312793: [SLP] Fix the warning about paths not returning the value, NFC. r312791: [SLP] Support for horizontal min/max reduction. And even then, I had to completely skip reverting the changes to TTI and CostModel because r312832 rewrote so much of this code. Plus, the cost modeling changes aren implicated in the miscompile, so they should be fine and will just not be used until this gets re-introduced. llvm-svn: 313409
* Remove redundant parentheses.Rui Ueyama2017-09-151-1/+1
| | | | llvm-svn: 313408
* Resubmit "[lit] Force site configs to run before source-tree configs"Zachary Turner2017-09-1524-801/+254
| | | | | | | | | | | | | | | | | | | | This is a resubmission of r313270. It broke standalone builds of compiler-rt because we were not correctly generating the llvm-lit script in the standalone build directory. The fixes incorporated here attempt to find llvm/utils/llvm-lit from the source tree returned by llvm-config. If present, it will generate llvm-lit into the output directory. Regardless, the user can specify -DLLVM_EXTERNAL_LIT to point to a specific lit.py on their file system. This supports the use case of someone installing lit via a package manager. If it cannot find a source tree, and -DLLVM_EXTERNAL_LIT is either unspecified or invalid, then we print a warning that tests will not be able to run. Differential Revision: https://reviews.llvm.org/D37756 llvm-svn: 313407
* [libFuzzer] minor refactoring, NFCKostya Serebryany2017-09-153-7/+4
| | | | llvm-svn: 313406
* Name the sentinel value used for the location number of the undefined ↵Reid Kleckner2017-09-151-7/+9
| | | | | | register NFC llvm-svn: 313405
* Test patch to check my commit accessJake Ehrlich2017-09-151-1/+1
| | | | llvm-svn: 313404
* [libFuzzer] reduce the size of the merge control file by not dumping ↵Kostya Serebryany2017-09-151-9/+17
| | | | | | redundant features into it llvm-svn: 313403
* Remove __builtin_wasm_rethrow builtinHeejin Ahn2017-09-153-11/+0
| | | | | | | | | | | | | | | | | Summary: Remove `__builtin_wasm_rethrow` builtin. I thought it was required to implement `__cxa_rethrow` function in libcxxabi, but it turned out it will be using `__builtin_wasm_throw` instead. Reviewers: dschuff, jgravelle-google Reviewed By: jgravelle-google Subscribers: jfb, sbc100, jgravelle-google Differential Revision: https://reviews.llvm.org/D37931 llvm-svn: 313402
OpenPOWER on IntegriCloud