summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
* [X86] Stack folding tests - just use mtriple - no need for mcpu in these testsSimon Pilgrim2015-10-257-7/+7
| | | | llvm-svn: 251229
* tests: Add test case forgotten in 251191Tobias Grosser2015-10-251-0/+61
| | | | llvm-svn: 251228
* ScopDetection: Update DetectionContextMap accordinglyTobias Grosser2015-10-253-2/+57
| | | | | | | | When verifying if a scop is still valid we rerun all analysis, but did not update DetectionContextMap. This change ensures that information, e.g. about non-affine regions, is correctly updated llvm-svn: 251227
* ScopDetection: Do not crash if we find zero array size candidates for ↵Tobias Grosser2015-10-252-1/+38
| | | | | | delinearization llvm-svn: 251226
* ScopDetection: Always refuse multi-dimensional memory accesses with 'undef' inTobias Grosser2015-10-252-20/+53
| | | | | | | | | | | the size expression. We previously only checked if the size expression is 'undef', but allowed size expressions of the form 'undef * undef' by accident. After this change we now require size expressions to be affine which implies no 'undef' appears anywhere in the expression. llvm-svn: 251225
* [X86] Mark inregs correctly for MCU psABIMichael Kuperstein2015-10-252-5/+76
| | | | | | | | | The MCU psABI calling convention is somewhat, but not quite, like -mregparm 3. In particular, the rules involving structs are different. Differential Revision: http://reviews.llvm.org/D13978 llvm-svn: 251224
* [X86] Use correct calling convention for MCU psABI libcallsMichael Kuperstein2015-10-255-0/+48
| | | | | | | | | | | | When using the MCU psABI, compiler-generated library calls should pass some parameters in-register. However, since inreg marking for x86 is currently done by the front end, it will not be applied to backend-generated calls. This is a workaround for PR3997, which describes a similar issue for -mregparm. Differential Revision: http://reviews.llvm.org/D13977 llvm-svn: 251223
* [X86] Add support for elfiamcu tripleMichael Kuperstein2015-10-254-1/+15
| | | | | | | | This adds support for the i?86-*-elfiamcu triple, which indicates the IAMCU psABI is used. Differential Revision: http://reviews.llvm.org/D13977 llvm-svn: 251222
* Remove some unnecessary macosx.internal SDK settings inJason Molenda2015-10-251-9/+9
| | | | | | the debugserver xcode project file. llvm-svn: 251221
* Update C++ status from KonaMarshall Clow2015-10-252-1/+56
| | | | llvm-svn: 251220
* Remove two unnecessary conversions from MVT to EVT. NFCCraig Topper2015-10-251-2/+2
| | | | llvm-svn: 251219
* [analyzer] scan-build: Teach ccc-analyzer about -Xclang.Devin Coughlin2015-10-251-0/+9
| | | | | | | | | Update ccc-analyzer to forward both -Xclang and its following argument to the the compiler driver. Previously we were dropping -Xclang and forwarding the argument on its own if it matched other forwarding criteria. This caused the argument to be interpreted as a driver rather than a frontend option. llvm-svn: 251218
* Use MVT::SimpleValueType instead of MVT in template parameter. NFCCraig Topper2015-10-251-1/+2
| | | | llvm-svn: 251217
* Simplify boolean conditional return statements in tools/llvm-symbolizer.Rafael Espindola2015-10-241-3/+1
| | | | | | Patch by Richard. llvm-svn: 251216
* Simplify boolean expressions in tools/llvm-objdump.Rafael Espindola2015-10-241-2/+2
| | | | | | Patch by Richard. llvm-svn: 251215
OpenPOWER on IntegriCloud