summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* [llvm-mca] Pass the InstrBuilder to the constructor of Backend.Andrea Di Biagio2018-03-233-8/+10
| | | | | | | This is done in preparation for the fix for PR36784. No functional change. llvm-svn: 328306
* [llvm-mca] Add flag -resource-pressure to enable/disable printing of the ↵Andrea Di Biagio2018-03-231-1/+7
| | | | | | | | | resource pressure view. By default, the tool always enables the resource pressure view. This flag lets user specify whether they want to add that view or not. llvm-svn: 328305
* [X86][Btver2] Vector move/load/store instructions use a JFPU01 scheduler ↵Simon Pilgrim2018-03-238-526/+526
| | | | | | pipe and JFPX/JVALU function unit as well as the AGUs llvm-svn: 328304
* [AArch64] Clean-up a few over-eager regexps in models.Florian Hahn2018-03-232-26/+26
| | | | | | | | | Patch by Simon Pilgrim <llvm-dev@redking.me.uk> That is a slightly modified version of the AArch64 changes from Simon's D44687 . llvm-svn: 328303
* [clangd] Remove 'static' from a function inside anonymous ns. NFCIlya Biryukov2018-03-231-1/+1
| | | | llvm-svn: 328302
* [LoopUnroll] Simplify induction variables after peeling too.Florian Hahn2018-03-232-17/+13
| | | | | | | | | | | | | Loop peeling also has an impact on the induction variables, so we should benefit from induction variable simplification after peeling too. Reviewers: sanjoy, bogner, mzolotukhin, efriedma Reviewed By: efriedma Differential Revision: https://reviews.llvm.org/D43878 llvm-svn: 328301
* [ORC] Join materialization thread in unit testBenjamin Kramer2018-03-231-5/+6
| | | | | | | | There's are race between this thread and the destructor of the test ORC components on the main threads. I saw flaky failures there in about 4% of the runs of this unit test. llvm-svn: 328300
* [ELF] - Another fix for "LLD crashes with --emit-relocs when trying to ↵George Rimar2018-03-235-7/+49
| | | | | | | | | | | | | | | proccess .eh_frame" This fixes PR36367 which is about segfault when --emit-relocs is used together with .eh_frame sections which happens because of reordering of regular and .rel[a] sections. Path changes loop that iterates over input sections to create relocation target sections first. Differential revision: https://reviews.llvm.org/D44679 llvm-svn: 328299
* [ARM] Error out on .arm assembler directives on windowsMartin Storsjo2018-03-232-0/+10
| | | | | | | | Windows on arm is thumb only. Differential Revision: https://reviews.llvm.org/D43005 llvm-svn: 328298
* Revert "[DAGCombiner] Fold (zext (and/or/xor (shl/shr (load x), cst), cst))"Martin Storsjo2018-03-232-202/+0
| | | | | | | This reverts commit r328252. This change broke building a number of projects when targeting ARM and AArch64, see PR36873. llvm-svn: 328297
* [X86] Give VPCMPEQQ the same itinerary as its SSE counterpart.Craig Topper2018-03-231-2/+2
| | | | llvm-svn: 328296
* [X86] Correct the latencies of SNB integer vector multiplies based on ↵Craig Topper2018-03-235-73/+89
| | | | | | Agner's data. Add missing MMX multiplies. llvm-svn: 328295
* [X86] Match vpblendvb/vblendvps/vblendvpd itineraries to the SSE equivalent. ↵Craig Topper2018-03-232-94/+89
| | | | | | Change pblendvb/blendvps/blendvpd to use WriteFVarBlend llvm-svn: 328294
* [X86] Change VPSADBW itinerary to SSE_INTALU_ITINS_P to match the SSE version.Craig Topper2018-03-234-65/+65
| | | | llvm-svn: 328293
* [X86] Give VLDDQUrm and LDDQUrm the same itinerary.Craig Topper2018-03-231-3/+4
| | | | llvm-svn: 328292
* [X86] Merge VMOVMSKBrr and MOVMSKBrr in the SNB sheduler model.Craig Topper2018-03-232-4/+3
| | | | | | The VMOVMSKBrr was in a separate InstRW with a lower latency, but I assume they should be the same and the higher latency matches Agners table so I'm going with that. llvm-svn: 328291
* [X86] Add VEXTRB/W/D/Q to Zen scheduler model.Craig Topper2018-03-234-12/+12
| | | | | | The SSE versions were present, but not the VEX version. llvm-svn: 328290
* [X86] Fix the itinerary for vextractps to match extractps.Craig Topper2018-03-231-2/+2
| | | | llvm-svn: 328289
* Bring r328238 back with a fix.Rafael Espindola2018-03-232-0/+3
| | | | | | | | | | | | The issues was that we were setting hidden visibility if, when processing a hidden class, we found out that we needed to emit a reference to a vtable provided by the standard library. Original message: Set dso_local on vtables. llvm-svn: 328288
* [DAG] Fix node id invalidation in Instruction Selection.Nirav Dave2018-03-231-3/+3
| | | | | | Invalidation should be bit negation. Add missing negation. llvm-svn: 328287
* Remove problematic PrettyStackTrace entry added in r328276Jordan Rose2018-03-231-5/+0
| | | | | | | I'm not sure /why/ this is causing issues for libclang, but it is. Unbreak the buildbots since it's already consumed an hour of my time. llvm-svn: 328286
* Fix the MSVC build.Rafael Espindola2018-03-231-1/+1
| | | | llvm-svn: 328285
* Fix PR36793.Rafael Espindola2018-03-234-54/+104
| | | | | | | With this patch lld will iterate over compile units to find the line tables instead of assuming there is only one at offset 0. llvm-svn: 328284
* [Modules] Update test to mention it requires C++14.Volodymyr Sapsai2018-03-231-1/+1
| | | | llvm-svn: 328283
* [analyzer] Trust _Nonnull annotations for system frameworkGeorge Karpenkov2018-03-238-34/+162
| | | | | | | | | | | Changes the analyzer to believe that methods annotated with _Nonnull from system frameworks indeed return non null objects. Local methods with such annotation are still distrusted. rdar://24291919 Differential Revision: https://reviews.llvm.org/D44341 llvm-svn: 328282
* [analyzer] Extend GCDAntipatternChecker to match group_enter/group_leave patternGeorge Karpenkov2018-03-232-43/+158
| | | | | | | | rdar://38480416 Differential Revision: https://reviews.llvm.org/D44653 llvm-svn: 328281
* [analyzer] [NFC] Move worklist implementation to WorkList.cppGeorge Karpenkov2018-03-233-230/+253
| | | | | | | | | | Current location is very confusing, especially because there is already WorkList.h, and other code in CoreEngine.cpp is not related to work list implementation. Differential Revision: https://reviews.llvm.org/D44759 llvm-svn: 328280
* [sanitizer] Fix PPC botVitaly Buka2018-03-231-3/+3
| | | | llvm-svn: 328279
* [CommandObjectFrame] Remove dead code.Davide Italiano2018-03-231-3/+0
| | | | llvm-svn: 328278
* [ARM] Add ARMv8.2-A FP16 vector intrinsicAbderrazek Zaafrani2018-03-233-57/+1086
| | | | | | | | Putting back the code in commit r327189 that was reverted in r322737. The code is being committed in three stages and this one is the last stage: 1) r327455 fp16 feature flags, 2) r327836 pass half type or i16 based on FullFP16, and 3) the code here which the front-end fp16 vector intrinsic for ARM. Differential revision https://reviews.llvm.org/D43650 llvm-svn: 328277
* Sink PrettyDeclStackTrace down to the AST libraryJordan Rose2018-03-2311-45/+55
| | | | | | | ...and add some very basic stack trace entries for module building. This would have helped track down rdar://problem/38434694 sooner. llvm-svn: 328276
* [TableGen] Don't capture returned std::vectors by const reference.Craig Topper2018-03-231-12/+8
| | | | | | The full vector is being returned not a reference. So the reference was just a to a temporary. llvm-svn: 328275
* For llvm-nm and Mach-O files also use function starts info in someKevin Enderby2018-03-223-2/+98
| | | | | | | | | | | | | | cases when printing symbols. As an improvement to: r305733 - Change llvm-nm for Mach-O files to use dyld info in some cases when printing symbols it could be made a bit better if it also read the function starts and faked up nlist entries to those address not already faked up by the other dyld info. This would help with stripped static functions. rdar://38761029 llvm-svn: 328274
* [sanitizer] zx_vmo_write on Fuchsia takes only 4 arguments nowPetr Hosek2018-03-221-10/+1
| | | | | | | | | The system call now fails when it cannot write the requested size. Update the sanitizer runtime Fuchsia implementation accordingly. Differential Revision: https://reviews.llvm.org/D44770 llvm-svn: 328273
* State that CFG is preserved in 'Falkor HW Prefetch Fix Late Phase'.Michael Zolotukhin2018-03-222-2/+1
| | | | | | That removes some redundant recomputations from the passes pipeline. llvm-svn: 328272
* [Support/Parallel] Use lock_guard which has less overhead than unique_lock.Fangrui Song2018-03-221-2/+2
| | | | | | | | | | | | Summary: unique_lock has the overhead of tracking ownership status and the owner. Reviewers: grimar, zturner Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D44698 llvm-svn: 328271
* [clang-doc] Reland "[clang-doc] Setup clang-doc frontend framework"Julie Hockett2018-03-2224-0/+2120
| | | | | | Fixed windows release build tests. llvm-svn: 328270
* Add temporary printouts to test to help debug failures.Eric Fiselier2018-03-222-0/+12
| | | | | | | | | | | Some debian libc++ bots started having failures in the locale tests due to what I assume is a change in the locale data for fr_FR in glibc. This change prints the actual value from the test to help debugging. It should be reverted once the bots cycle. llvm-svn: 328268
* Reapply "[test] Add tests for llc passes pipelines." with a fix for bots ↵Michael Zolotukhin2018-03-223-0/+410
| | | | | | with expensive checks on. llvm-svn: 328267
* Set dso_local on __ImageBase.Rafael Espindola2018-03-222-4/+8
| | | | llvm-svn: 328266
* Avoid Clang error about throwing _LIBCPP_ASSERT in noexcept function.Eric Fiselier2018-03-224-25/+25
| | | | | | | | | | | | | This fixes a couple of tests which produced a warning that a 'throw' occurred in a noexcept function (by way of _LIBCPP_ASSERT). It does so by hiding the 'throw' across an opaque function boundary. This fix isn't ideal, since we still have _LIBCPP_ASSERT's in functions marked noexcept -- and this problem should be addressed in the future. However, throwing _LIBCPP_ASSERT is really only meant to allow testing of the assertions, and is not yet ready for general use. llvm-svn: 328265
* [libcxx] [test] Strip trailing whitespace. NFC.Stephan T. Lavavej2018-03-223-4/+4
| | | | llvm-svn: 328264
* Add a test.Rafael Espindola2018-03-221-0/+10
| | | | | | This would have found the regression in r328238. llvm-svn: 328263
* Move SampleProfile.h into IPO along with the rest of the IPO pass headersDavid Blaikie2018-03-223-5/+5
| | | | llvm-svn: 328262
* Workaround GCC bug PR78489 - SFINAE order is not respected.Eric Fiselier2018-03-222-17/+18
| | | | | | | | | | | This patch works around variant test failures which are new to GCC 8. GCC 8 either doesn't perform SFINAE in lexical order, or it doesn't halt after encountering the first failure. This causes hard error to occur instead of substitution failure. See gcc.gnu.org/PR78489 llvm-svn: 328261
* [X86] Correct the VROUND regular expressions in Znver1 scheduler model to ↵Craig Topper2018-03-222-6/+6
| | | | | | account for r328254 llvm-svn: 328260
* Finish moving the IPSCCP pass from Scalar to IPO - moving the registrationDavid Blaikie2018-03-222-1/+1
| | | | llvm-svn: 328259
* [analyzer] Enable temporary object destructor inlining by default.Artem Dergachev2018-03-222-2/+2
| | | | | | | | | | | | When a temporary is constructed with a proper construction context, it should be safe to inline the destructor. We have added suppressions for some of the common false positives caused by such inlining, so there should be - and from my observations there indeed is - more benefit than harm from enabling destructor inlining. Differential Revision: https://reviews.llvm.org/D44721 llvm-svn: 328258
* Revert r325687 (workaround for PR36032).Evgeny Stupachenko2018-03-225-12/+5
| | | | | | | | | | | | | | Summary: Revert r325687 workaround for PR36032 since a fix was committed in r326154. Reviewers: sbaranga Differential Revision: http://reviews.llvm.org/D44768 From: Evgeny Stupachenko <evstupac@gmail.com> <evgeny.v.stupachenko@intel.com> llvm-svn: 328257
* Add test for demangling GNU ABI tags.Rafael Espindola2018-03-221-0/+6
| | | | | | Patch by Christopher James Halse Rogers! llvm-svn: 328256
OpenPOWER on IntegriCloud