summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Re-enable llvm/test/ThinLTO/X86/cache.ll.NAKAMURA Takumi2016-05-141-3/+0
| | | | | | | | This reverts; r269548, "XFAIL ThinLTO Caching test on Windows." r269561, "Rework r269548, "XFAIL ThinLTO Caching test on Windows.", not to use XFAIL, for now." llvm-svn: 269567
* [Docs] Add some requirements to the Testing GuideRenato Golin2016-05-141-0/+6
| | | | | | Patch by Diana Picus. llvm-svn: 269566
* CachePruning.cpp: Don't use errno.NAKAMURA Takumi2016-05-141-2/+3
| | | | llvm-svn: 269565
* Revert changes after test commit.Dima Stepanov2016-05-141-0/+1
| | | | llvm-svn: 269564
* [llc] New diagnostic handlerRenato Golin2016-05-1431-34/+70
| | | | | | | | | | | | | | | | | | | | | | Without a diagnostic handler installed, llc's behaviour is to exit on the first error that it encounters. This is very different from the behaviour of clang and other front ends, which try to gather as many errors as possible before exiting. This commit adds a diagnostic handler to llc, allowing it to find and report more than one error. The old behaviour is preserved under a flag (-exit-on-error). Some of the tests fail with the new diagnostic handler, so they have to use the new flag in order to run under the previous behaviour. Some of these are known bugs, others need further investigation. Ideally, we should fix the tests and remove the flag at some point in the future. Reapplied after fixing the LLDB build that was broken due to the new DiagnosticSeverity in LLVMContext.h. Patch by Diana Picus. llvm-svn: 269563
* [LLDB] Adding lldb_private namespace to DiagnosticSeverity. NFC.Renato Golin2016-05-141-1/+1
| | | | | | | | This is a fix due to the addition of the new DiagnosticSeverity in LLVMContext.h. This may warrant a change in name to be LLDB specific but I leave that to the LLDB experts to refactor. llvm-svn: 269562
* Rework r269548, "XFAIL ThinLTO Caching test on Windows.", not to use XFAIL, ↵NAKAMURA Takumi2016-05-141-1/+1
| | | | | | | | for now. It was passing (and is XPASSing) with --host=linux --target=win32. llvm-svn: 269561
* [mips] Enable IAS by default for 32-bit MIPS targets (O32).Daniel Sanders2016-05-147-31/+98
| | | | | | | | | | | | | | | | | | | Summary: The MIPS IAS can now pass 'ninja check-all', recurse, build a bootable linux kernel, and pass a variety of LNT testing. Unfortunately we can't enable it by default for 64-bit targets yet since the N32 ABI is still very buggy and this also means we can't enable it for N64 either because we can't distinguish between N32 and N64 in the relevant code. Reviewers: vkalintiris Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D18759 Differential Revision: http://reviews.llvm.org/D18761 llvm-svn: 269560
* ModuleMap.h: Fix a \param. [-Wdocumentation]NAKAMURA Takumi2016-05-141-1/+1
| | | | llvm-svn: 269559
* Test commt: remove a blank line.Dima Stepanov2016-05-141-1/+0
| | | | llvm-svn: 269558
* MSVCToolChain.cpp: Make version.dll generic for win32.NAKAMURA Takumi2016-05-142-2/+6
| | | | | | | We may consider msvc features may be capable on mingw host, if it can. Consider --host=mingw --target=msvc. llvm-svn: 269557
* MSVCToolChain.cpp: Use explicit constructor for SmallString from ↵NAKAMURA Takumi2016-05-141-1/+1
| | | | | | std::string, to appease mingw-g++. llvm-svn: 269556
* llvm/Support/MachO.h: Fix warnings. [-Wpedantic]NAKAMURA Takumi2016-05-141-8/+8
| | | | llvm-svn: 269555
* Update identifiers as needed when loading macros from serialized ASTs.Sean Callanan2016-05-141-2/+5
| | | | | | | | | | | This is essential for iterating across macros properly, which LLDB does when loading macros from modules. A naiver version of this patch (without the conditional) caused assertion failures in the testsuite, but this version should be safe. Thanks to Ben Langmuir for the refinement that made this work. llvm-svn: 269554
* Fixed a bug where the ASTImporter didn't propagate builtin IDs at all.Sean Callanan2016-05-141-1/+6
| | | | | | | | | | | IdentifierInfos are assigned builtin IDs during parsing, but Idents.get() does not do that work. So the ASTImporter needs to additionally set the builtin ID for the newly-created IdentifierInfo. This patch does that. Currently ASTMerge tests only check syntax and the ASTMatchers don't check for builtin IDs, so this is tricky to test, but LLDB will have a test for this. llvm-svn: 269553
* [X86] Change most 'void' pointers in builtin type lists to more correct ↵Craig Topper2016-05-142-93/+93
| | | | | | types. Fix some unaligned load/store intrinsics to use a less aligned type in their pointer casts. llvm-svn: 269552
* Handle injected class names in the ASTImporter.Sean Callanan2016-05-143-2/+26
| | | | | | | | | | | | | | | | | | Every class as parsed by Clang has a forward declaration of itself as a member: class A { class A; ... } but when the parser generates this it ensures that the RecordTypes for the two are the same. This makes (among other things) inheritance work. This patch fixes a bug where the ASTImporter generated two separate RecordTypes when importing the class and the contained forward declaration, and adds a test case. Thanks to Doug Gregor for advice on this. llvm-svn: 269551
* Revert "Reapply "[ProfileData] (compiler-rt) Use Error in InstrProf and ↵Chandler Carruth2016-05-141-3/+4
| | | | | | | | | | Coverage, NFC"" This reverts commit r269493 as the corresponding LLVM commit was reverted due to lots of warnings. See the review thread for the original LLVM commit (r269491) for details. llvm-svn: 269550
* Revert "Reapply "[ProfileData] (clang) Use Error in InstrProf and Coverage, ↵Chandler Carruth2016-05-143-14/+10
| | | | | | | | | | NFC"" This reverts commit r269492 as the corresponding LLVM commit was reverted due to lots of warnings. See the review thread for the original LLVM commit (r269491) for details. llvm-svn: 269549
* XFAIL ThinLTO Caching test on Windows.Mehdi Amini2016-05-141-0/+3
| | | | | | | I have no idea what's going on on Windows here. From: Mehdi Amini <mehdi.amini@apple.com> llvm-svn: 269548
* Revert "Retry "[ProfileData] (llvm) Use Error in InstrProf and Coverage, NFC""Chandler Carruth2016-05-1418-606/+503
| | | | | | | This reverts commit r269491. It triggers warnings with Clang, breaking builds for -Werror users including several build bots. llvm-svn: 269547
* Added support to the ASTImporter for C++ constructor initializers.Sean Callanan2016-05-144-0/+118
| | | | | | Thanks to Aleksei Sidorin for review and advice. llvm-svn: 269546
* Add testing in llvm-lto for ThinLTO caching.Mehdi Amini2016-05-143-0/+31
| | | | | | | Trying to improve code coverage for `make check` From: mehdi_amini <mehdi_amini@91177308-0d34-0410-b5e6-96231b3b80d8> llvm-svn: 269545
* ThinLTOCodeGenerator: handle cases where temporary files can't be renamedMehdi Amini2016-05-141-2/+6
| | | | | | | For instance when they're on different filesystem. From: Mehdi Amini <mehdi.amini@apple.com> llvm-svn: 269544
* Revert "Add testing in llvm-lto for ThinLTO caching."Mehdi Amini2016-05-143-33/+0
| | | | | | | | This reverts commit r269538 and r269542. "rename()" is expected to fail across filesystems, will handle this. From: Mehdi Amini <mehdi.amini@apple.com> llvm-svn: 269543
* Increase verbosity in the test output to help debugging windows issuesMehdi Amini2016-05-141-1/+3
| | | | | From: Mehdi Amini <mehdi.amini@apple.com> llvm-svn: 269542
* ThinLTOCodeGenerator: handle std::error_code instead of silently dropping it.Mehdi Amini2016-05-141-1/+5
| | | | | From: Mehdi Amini <mehdi.amini@apple.com> llvm-svn: 269541
* StripDebugInfo: uses isa<DbgInfoIntrinsic> instead of matching against ↵Mehdi Amini2016-05-141-9/+2
| | | | | | | | | | llvm.dbg.* (NFC) Suggested by Adrian. This is NFC right now but is more clean and robust against future potential new debug info intrinsics. From: mehdi_amini <mehdi_amini@91177308-0d34-0410-b5e6-96231b3b80d8> llvm-svn: 269540
* Revert "StripDebugInfo: uses isa<DbgInfoIntrinsic> instead of matching ↵Mehdi Amini2016-05-141-2/+9
| | | | | | | | | against llvm.dbg.* (NFC)" This reverts commit r269537, was not ready to be commited and went through by mistake From: Mehdi Amini <mehdi.amini@apple.com> llvm-svn: 269539
* Add testing in llvm-lto for ThinLTO caching.Mehdi Amini2016-05-143-0/+31
| | | | | | | Trying to improve code coverage for `make check` From: Mehdi Amini <mehdi.amini@apple.com> llvm-svn: 269538
* StripDebugInfo: uses isa<DbgInfoIntrinsic> instead of matching against ↵Mehdi Amini2016-05-141-9/+2
| | | | | | | | | | llvm.dbg.* (NFC) Suggested by Adrian. This is NFC right now but is more clean and robust against future potential new debug info intrinsics. From: Mehdi Amini <mehdi.amini@apple.com> llvm-svn: 269537
* Remove unwanted fprintf debugMehdi Amini2016-05-141-1/+0
| | | | | From: Mehdi Amini <mehdi.amini@apple.com> llvm-svn: 269536
* Revert r269534 "Silence a -Wundefined-var-template build warning." The bots ↵Craig Topper2016-05-141-2/+0
| | | | | | didn't like that. llvm-svn: 269535
* Silence a -Wundefined-var-template build warning.Craig Topper2016-05-141-0/+2
| | | | llvm-svn: 269534
* minor cleanup -- reset buffer pointerXinliang David Li2016-05-141-1/+4
| | | | llvm-svn: 269533
* Revert "[MSan] Enable on PowerPC64."Marcin Koscielnicki2016-05-141-1/+1
| | | | | | | | This reverts commit r269522. This broke dtls_test.c on ppc64le buildbots. llvm-svn: 269532
* [WebAssembly] Fix legalization of i128 shifts.Dan Gohman2016-05-142-9/+284
| | | | | | | | compiler-rt/libgcc shift routines expect the shift count to be an i32, so use i32 as the shift count for shifts that are legalized to libcalls. This also reverts r268991, now that the signatures are correct. llvm-svn: 269531
* When typo-correcting a using-declaration, actually correct the name of theRichard Smith2016-05-142-0/+39
| | | | | | UsingDecl (so that redeclaration lookup can find it). llvm-svn: 269530
* Fix some typos.Richard Smith2016-05-141-7/+7
| | | | llvm-svn: 269528
* [AVX512] Update pshufd type strings to match the backend. Also mark the ↵Craig Topper2016-05-141-3/+3
| | | | | | immediate as an ICE instead of marking the previous vector as const. llvm-svn: 269527
* [AVX512] Fix types for pshufd intrinsics. The immediate is the second ↵Craig Topper2016-05-145-53/+54
| | | | | | | | argument and the mask is the 4th argument. Also move the 128/256 tests to the right test file. Prior to this the immediate was a strange 16-bits and the 512-bit intrinsic couldn't receive the full 16 mask bits it needs. llvm-svn: 269526
* surface build error content through test event systemTodd Fiala2016-05-148-21/+147
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: print build errors nicely in test output This test infrastructure change adds a new Python exception for test subject builds that fail. The output of the build command is captured and propagated to both the textual test output display code and to the test event system. The ResultsFormatter objects have been modified to do something more useful with this information. The xUnit formatter now replaces the non-informative Python build error stacktrace with the build error content. The curses ResultsFormatter prints a 'B' for build errors rather than 'E'. The xUnit output, in particular, makes it much easier for developers to track down test subject build errors that cause test failures when reports come in from CI. Reviewers: granata.enrico Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D20252 llvm-svn: 269525
* [WebAssembly] Update expected torture test failuresDerek Schuff2016-05-141-2/+2
| | | | | | NFC; the waterfall just changed the way they are built. llvm-svn: 269523
* [MSan] Enable on PowerPC64.Marcin Koscielnicki2016-05-141-1/+1
| | | | | | Differential Revision: http://reviews.llvm.org/D20001 llvm-svn: 269522
* [codeview] Add type stream merging prototypeReid Kleckner2016-05-1422-135/+820
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: This code is intended to be used as part of LLD's PDB writing. Until that exists, this is exposed via llvm-readobj for testing purposes. Type stream merging uses the following algorithm: - Begin with a new empty stream, and a new empty hash table that maps from type record contents to new type index. - For each new type stream, maintain a map from source type index to destination type index. - For each record, copy it and rewrite its type indices to be valid in the destination type stream. - If the new type record is not already present in the destination stream hash table, append it to the destination type stream, assign it the next type index, and update the two hash tables. - If the type record already exists in the destination stream, discard it and update the type index map to forward the source type index to the existing destination type index. Reviewers: zturner, ruiu Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D20122 llvm-svn: 269521
* [VFS] Add level() method to vfs::recursive_directory_iteratorBruno Cardoso Lopes2016-05-142-0/+47
| | | | | | | | | | | | | Unlike sys::fs::recursive_directory_iterator, vfs::recursive_directory_iterator does not implement the level() method, which tells how deep in the directory tree the current iterator is. This is needed in the vfs::recursive_directory_iterator so that future improvements to the crash reproducer will be able to properly access header for umbrellas when looking into the VFS. rdar://problem/25880368 llvm-svn: 269520
* SDAG: Implement Select instead of SelectImpl in MipsDAGToDAGISelJustin Bogner2016-05-136-62/+54
| | | | | | | | | | | - Where we were returning a node before, call ReplaceNode instead. - Where we would return null to fall back to another selector, rename the method to try* and return a bool for success. - Where we were calling SelectNodeTo, just return afterwards. Part of llvm.org/pr26808. llvm-svn: 269519
* [MSan] [PowerPC] Implement PowerPC64 vararg helper.Marcin Koscielnicki2016-05-133-0/+371
| | | | | | Differential Revision: http://reviews.llvm.org/D20000 llvm-svn: 269518
* [Release notes] Mention Clang-tidy modernize-avoid-bind check.Eugene Zelenko2016-05-132-2/+7
| | | | | | Fix some problems in its documentation. llvm-svn: 269517
* SDAG: Clean up a dead node I missed earlier in X86Justin Bogner2016-05-131-1/+1
| | | | | | H.J. Lu pointed out that I missed this in r269236. Thanks! llvm-svn: 269516
OpenPOWER on IntegriCloud