summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Drop dead return after llvm_unreachable. NFC.Benjamin Kramer2015-10-261-1/+0
| | | | llvm-svn: 251279
* Drop code after unreachable. No functionality change.Benjamin Kramer2015-10-262-3/+0
| | | | llvm-svn: 251278
* Port the python api decorator to use test categoriesPavel Labath2015-10-2696-262/+235
| | | | | | | | | | | | | | | | | | Summary: Per discussions on the mailing list, I have implemented a decorator which annotates individual test methods with categories. I have used this framework to replace the '-a' and '+a' command-line switches (now '-G pyapi' and '--skip-category pyapi') and the @python_api_test decorator (now @add_test_categories('pyapi')). The test suite now gives an error message suggesting the new options if the user specifies the deprecated +/-a switches. If the general direction is good, I will follow this up with other switches. Reviewers: tberghammer, tfiala, granata.enrico, zturner Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D14020 llvm-svn: 251277
* Fix a build issue on Debian unstable. The compiler rejected the convertion ↵Sylvestre Ledru2015-10-261-2/+2
| | | | | | to ‘bool’ from ‘std::nullptr_t’ llvm-svn: 251276
* AVX512: Add AVX-512 not materializable instructions. Igor Breger2015-10-262-1/+63
| | | | | | | | | | Otherwise value can be reused , despite its value could be changed - produces incorrect assembler. https://llvm.org/bugs/show_bug.cgi?id=25270 Differential Revision: http://reviews.llvm.org/D14057 llvm-svn: 251275
* [Orc] Add license header to OrcTargetSupport.Lang Hames2015-10-261-1/+9
| | | | llvm-svn: 251274
* [Orc] In the CompileOnDemand layer, wrap module ownership in order to preserveLang Hames2015-10-261-19/+46
| | | | | | | | | | | | the module pointer type passed in by the user. The previous ownership scheme, where the user pointer was always moved into a std::shared_ptr, breaks if the user passes in a raw pointer. Discovered while working on the Orc C API, which should be landing shortly. I expect to include a test-case with that. llvm-svn: 251273
* Update test to take into account for r251271.David Majnemer2015-10-261-1/+1
| | | | llvm-svn: 251272
* [MC] Add support for GNU as-compatible binary operator precedenceDavid Majnemer2015-10-262-4/+88
| | | | | | | | | | GNU as and Darwin give the various binary operators different precedence. LLVM's MC supported the Darwin semantics but not the GNU semantics. This fixes PR25311. llvm-svn: 251271
* [MC] Don't crash when .word is given bogus valuesDavid Majnemer2015-10-263-2/+23
| | | | | | | | | | We didn't validate that the .word directive was given a sane value, leading to crashes when we attempt to write out the object file. Instead, perform some validation and issue a diagnostic pointing at the start of the diagnostic. llvm-svn: 251270
* Corrects return values and typos in Arm watchpoint codeOmair Javaid2015-10-251-4/+4
| | | | | | | This is just a trivial patch that corrects a couple of return value account to function's return type. Also corrects typo in hardware breakpoint handler. llvm-svn: 251269
* tests: Add test cases for LLVM commit r251267Tobias Grosser2015-10-252-5/+48
| | | | | | This fixes llvm.org/PR25242 llvm-svn: 251268
* RegionInfo: Correctly expand regionsTobias Grosser2015-10-251-14/+10
| | | | | | | | | | | | | | | | Instead of playing around with dominance to verify if the possible expansion of a scop region is indeed a single entry single exit region, we now distinguish two cases. In case we only append a basic block, all edges entering this basic block need to have come from within the region that is expanded. In case we join two regions, the source basic blocks of the edges that end at the entry node of the region that is appended most be part of either the original region or the region that is appended. This change will be tested through Polly. This fixes llvm.org/PR25242 llvm-svn: 251267
* Convert assert(false) into llvm_unreachable where it makes sense.Benjamin Kramer2015-10-256-10/+9
| | | | llvm-svn: 251266
* assert(false) -> llvm_unreachable.Benjamin Kramer2015-10-251-1/+1
| | | | llvm-svn: 251265
* Fix a copy-and-paste error on new Editline test cmake configuration.Todd Fiala2015-10-251-1/+1
| | | | llvm-svn: 251264
* [X86][AVX] Regenerate tests.Simon Pilgrim2015-10-251-10/+10
| | | | llvm-svn: 251263
* [clang-tidy] Add return value for non-assert builds.Daniel Jasper2015-10-251-0/+1
| | | | llvm-svn: 251262
* Xcode: added lldb-gtest target to build and run the gtests in the unittests ↵Todd Fiala2015-10-255-0/+458
| | | | | | | | | | | | | | | | | | | | directory. Also added a placeholder Editline gtest for some code that I'll add as soon as I make sure this addition doesn't break any of the build bots. This change also introduces some Xcode user-defined variables that I've used to attempt to isolate the way Python is integrated into the build. I don't have the rest of LLDB using it yet, I'm using the gtests as my guinea pig on that. Currently these are: PYTHON_FRAMEWORK_PATH PYTHON_VERSION_MAJOR PYTHON_VERSION_MINOR I will convert the rest over to it after this gets a little time to bake and any kinks are worked out of it. llvm-svn: 251261
* docs: document `x` mangling in LangRefSaleem Abdulrasool2015-10-251-0/+2
| | | | | | | Windows has two different mangling specifiers. `x` is used on x86 for the `_` UserLabelPrefix. Others use `w` for the no UserLabelPrefix. llvm-svn: 251260
* Another fix of -Wqual-const warning.George Rimar2015-10-251-1/+1
| | | | llvm-svn: 251259
* Mark LWG#2495 as complete. No code changes neededMarshall Clow2015-10-251-1/+1
| | | | llvm-svn: 251258
* Fix LWG#2489: mem_fn() should be noexceptMarshall Clow2015-10-253-4/+7
| | | | llvm-svn: 251257
* [ScalarEvolution] Throw away dead code.Davide Italiano2015-10-251-17/+0
| | | | llvm-svn: 251256
* [ScalarEvolution] Get rid of NDEBUG in header (correctly this time).Davide Italiano2015-10-252-0/+10
| | | | llvm-svn: 251255
* Add the tests for the last commitMarshall Clow2015-10-252-0/+144
| | | | llvm-svn: 251254
* Fix LWG#2476: scoped_allocator_adaptor is not assignableMarshall Clow2015-10-251-0/+4
| | | | llvm-svn: 251253
* Add a test for LWG#2466: allocator_traits::max_size() default behavior is ↵Marshall Clow2015-10-253-5/+4
| | | | | | incorrect llvm-svn: 251252
* [LCSSA] Unbreak build, don't reuse L; NFCSanjoy Das2015-10-251-2/+2
| | | | | | The build broke in r251248. llvm-svn: 251251
* Add a test for LWG#2462: std::ios_base::failure is overspecifiedMarshall Clow2015-10-251-0/+3
| | | | llvm-svn: 251250
* [ScalarEvolution] Get rid of NDEBUG in header.Davide Italiano2015-10-252-13/+0
| | | | llvm-svn: 251249
* [LCSSA] Use range for loops; NFCSanjoy Das2015-10-251-28/+21
| | | | llvm-svn: 251248
* Fix LWG#2127: Move-construction with raw_storage_iterator.Marshall Clow2015-10-253-5/+28
| | | | llvm-svn: 251247
* Fix LWG#2244: basic_istream::seekgMarshall Clow2015-10-253-1/+11
| | | | llvm-svn: 251246
* [X86][SSE4A] Fix for EXTRQI shuffle lowering.Simon Pilgrim2015-10-252-2/+25
| | | | | | Incorrect range test - found during fuzz testing. llvm-svn: 251245
* [clang-tidy] Another fix for failing buildbots regarding signedness of charPiotr Dziwinski2015-10-252-10/+10
| | | | | | | | | I totally forgot that char can be defined as unsigned on some platforms. Now I made explicit mention of signed type where necessary in tests. Also fixed '//RUN: ' header of cxx98 test to correct format. llvm-svn: 251244
* Added some top-level unittests files that I missed in the last check-in.Todd Fiala2015-10-251-0/+19
| | | | | | | | I am also letting a debugserver-related project entry slide in since Xcode seems to insist on inserting it, and when I remove it the new files don't show up. llvm-svn: 251243
* Correct relocation type in test header commentEd Maste2015-10-251-1/+1
| | | | llvm-svn: 251242
* Fix -Wqual-const warning.Rui Ueyama2015-10-251-1/+1
| | | | llvm-svn: 251241
* Add lldb/unittests files to the Xcode lldb project.Todd Fiala2015-10-251-0/+74
| | | | llvm-svn: 251240
* [clang-tidy] Fix for build bots not liking #include <cstddef>Piotr Dziwinski2015-10-252-2/+8
| | | | llvm-svn: 251239
* [X86][SSE] Refreshed tests (missing AVX512 patterns)Simon Pilgrim2015-10-251-0/+270
| | | | llvm-svn: 251238
* Scalarizer for masked.gather and masked.scatter intrinsics.Elena Demikhovsky2015-10-257-1/+401
| | | | | | | | | | When the target does not support these intrinsics they should be converted to a chain of scalar load or store operations. If the mask is not constant, the scalarizer will build a chain of conditional basic blocks. I added isLegalMaskedGather() isLegalMaskedScatter() APIs. Differential Revision: http://reviews.llvm.org/D13722 llvm-svn: 251237
* [X86][SSE] Added tests for shuffling through bitcasts.Simon Pilgrim2015-10-252-3/+103
| | | | llvm-svn: 251236
* [clang-tidy] Add check readability-implicit-bool-castPiotr Dziwinski2015-10-259-0/+1101
| | | | | | | | | | | | | | | | | | | | | Summary: This is another check that I ported to clang-tidy from colobot-lint tool. As previously discussed on cfe-dev mailing list, this is one of those checks that I think is general and useful enough for contribution to clang-tidy. This patch contains implementation of check taken from colobot-lint, but it is extended a great deal, including FixIt hints for automated refactoring, exhaustive testcases, and user documentation. Reviewers: sbenza, aaron.ballman, alexfh Subscribers: Eugene.Zelenko Differential Revision: http://reviews.llvm.org/D13635 llvm-svn: 251235
* ScopDetect: Bail out for non-simple memory accessesTobias Grosser2015-10-254-0/+87
| | | | | | | | | | | | | Volatile or atomic memory accesses are currently not supported. Neither did we think about any special handling needed nor do we support the unknown instructions the alias set tracker turns them into sometimes. Before this patch, us not supporting unkown instructions in an alias set caused the following assertion failures: Assertion `AG.size() > 1 && "Alias groups should contain at least two accesses"' failed llvm-svn: 251234
* [X86][SSE] vector sext/zext tests - remove unnecessary mcpu argumentsSimon Pilgrim2015-10-252-11/+11
| | | | llvm-svn: 251233
* [X86][SSE] shift/rotate tests - remove unnecessary mcpu arguments and ↵Simon Pilgrim2015-10-258-194/+194
| | | | | | regenerate/cleanup llvm-svn: 251232
* Fix typoTobias Grosser2015-10-251-1/+1
| | | | llvm-svn: 251231
* [X86] PMOV*X* tests - remove unnecessary mcpu arguments and regenerateSimon Pilgrim2015-10-251-38/+110
| | | | llvm-svn: 251230
OpenPOWER on IntegriCloud