aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2018-10-26Merging r341775:Tom Stellard3-19/+85
------------------------------------------------------------------------ r341775 | rsmith | 2018-09-09 22:32:13 -0700 (Sun, 09 Sep 2018) | 2 lines Part of PR33222: defer enforcing return type mismatch for dependent friend function declarations of class templates. ------------------------------------------------------------------------ llvm-svn: 345409
2018-10-26Merging r344325:Tom Stellard4-5/+47
------------------------------------------------------------------------ r344325 | evgeny777 | 2018-10-12 00:24:02 -0700 (Fri, 12 Oct 2018) | 4 lines [ThinLTO] Don't import GV which contains blockaddress Differential revision: https://reviews.llvm.org/D53139 ------------------------------------------------------------------------ llvm-svn: 345401
2018-10-25Merging r340025:Tom Stellard5-3/+36
------------------------------------------------------------------------ r340025 | erichkeane | 2018-08-17 06:43:39 -0700 (Fri, 17 Aug 2018) | 8 lines Fix for bug 38508 - Don't do PCH processing when only generating preprocessor output This clang-cl driver change removes the PCH options when we are only generating preprocessed output. This is similar to the behavior of Y-. Patch by: mikerice Differential Revision: https://reviews.llvm.org/D50640 ------------------------------------------------------------------------ llvm-svn: 345311
2018-10-25Merging r339424:Tom Stellard2-1/+2
------------------------------------------------------------------------ r339424 | hans | 2018-08-10 04:40:50 -0700 (Fri, 10 Aug 2018) | 1 line clang-cl: accept -fcrash-diagnostics-dir= ------------------------------------------------------------------------ llvm-svn: 345304
2018-10-23Merging r342897:Tom Stellard1-4/+4
------------------------------------------------------------------------ r342897 | mgorny | 2018-09-24 09:10:25 -0700 (Mon, 24 Sep 2018) | 5 lines [python] [tests] Update test_code_completion Update expected completions to match output generated by clang-7.0. Differential Revision: https://reviews.llvm.org/D50171 ------------------------------------------------------------------------ llvm-svn: 345000
2018-10-22Merging r344368:Tom Stellard4-5/+98
------------------------------------------------------------------------ r344368 | ruiu | 2018-10-12 10:07:32 -0700 (Fri, 12 Oct 2018) | 10 lines [lld] Add more complete support for the INCLUDE command. Patch by Ian Tessier. This change adds INCLUDE support to the MEMORY and SECTION commands, and to output sections, as per: https://sourceware.org/binutils/docs/ld/File-Commands.html#File-Commands Differential Revision: https://reviews.llvm.org/D52951 ------------------------------------------------------------------------ llvm-svn: 344926
2018-10-22Merging r343668:Tom Stellard2-1/+22
------------------------------------------------------------------------ r343668 | grimar | 2018-10-03 02:33:00 -0700 (Wed, 03 Oct 2018) | 20 lines [ELF] - Do not forget to include to .dymsym symbols that were converted to Defined. This is the fix for "Bug 39104 - LLD links incorrect ELF executable if version script contains "local: *;" (https://bugs.llvm.org/show_bug.cgi?id=39104). The issue happens when we have non-PIC program call to function in a shared library. (for example, the PR above has R_X86_64_PC32 relocation against __libc_start_main) LLD converts symbol to Defined in that case with the use of replaceWithDefined() The issue is that after above we create a broken relocation because do not include the symbol into .dynsym. That happens when the version script is used because we treat the symbol as STB_LOCAL if the following condition match: VersionId == VER_NDX_LOCAL && isDefined() and do not include it to .dynsym because of that. Patch fixes the issue. Differential revision: https://reviews.llvm.org/D52724 ------------------------------------------------------------------------ llvm-svn: 344925
2018-10-22Merging r344824:Tom Stellard3-5/+20
------------------------------------------------------------------------ r344824 | ctopper | 2018-10-19 18:30:00 -0700 (Fri, 19 Oct 2018) | 14 lines [X86] When checking the bits in cpu_features for function multiversioning dispatcher in the resolver, make sure all the required bits are set. Not just one of them Summary: The multiversioning code repurposed the code from __builtin_cpu_supports for checking if a single feature is enabled. That code essentially performed (_cpu_features & (1 << C)) != 0. But with the multiversioning path, the mask is no longer guaranteed to be a power of 2. So we return true anytime any one of the bits in the mask is set not just all of the bits. The correct check is (_cpu_features & mask) == mask Reviewers: erichkeane, echristo Reviewed By: echristo Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D53460 ------------------------------------------------------------------------ llvm-svn: 344923
2018-10-22Merging r344264:Tom Stellard2-1/+27
------------------------------------------------------------------------ r344264 | mstorsjo | 2018-10-11 10:45:51 -0700 (Thu, 11 Oct 2018) | 8 lines [COFF] Set proper pointer size alignment for LocalImportChunk When these are accessed with load/store instructions on ARM64, it becomes strictly necessary to have them properly aligned. This fixes PR39228. Differential Revision: https://reviews.llvm.org/D53128 ------------------------------------------------------------------------ llvm-svn: 344920
2018-10-22Merging r342461:Tom Stellard1-2/+5
------------------------------------------------------------------------ r342461 | devnexen | 2018-09-18 03:31:10 -0700 (Tue, 18 Sep 2018) | 10 lines [Xray] llvm-xray fix possible segfault top argument when superior to the instrumentated code list capacity can lead to a segfault. Reviewers: dberris Reviewed By: dberris Differential Revision: https://reviews.llvm.org/D52224 ------------------------------------------------------------------------ llvm-svn: 344918
2018-10-22Merging r342815:Tom Stellard1-0/+3
------------------------------------------------------------------------ r342815 | ericwf | 2018-09-22 12:22:36 -0700 (Sat, 22 Sep 2018) | 14 lines Fix incorrectly aligned exceptions in 32 bit builds. This patch fixes a bug where exceptions in 32 bit builds would be incorrectly aligned because malloc only provides 8 byte aligned memory where 16 byte alignment is needed. This patch makes libc++abi correctly use posix_memalign when it's available. This requires defining _LIBCPP_BUILDING_LIBRARY so that libc++ only defines _LIBCPP_HAS_NO_ALIGNED_ALLOCATION when libc doesn't support it and not when aligned new/delete are disable for other reasons. This bug somehow made it into the 7.0 release, making it a regression. Therefore this patch should be included in the next dot release. ------------------------------------------------------------------------ llvm-svn: 344917
2018-10-19Merging r343373:Tom Stellard2-15/+21
------------------------------------------------------------------------ r343373 | rksimon | 2018-09-29 06:25:22 -0700 (Sat, 29 Sep 2018) | 3 lines [X86][SSE] Fixed issue with v2i64 variable shifts on 32-bit targets The shift amount might have peeked through a extract_subvector, altering the number of vector elements in the 'Amt' variable - so we were incorrectly calculating the ratio when peeking through bitcasts, resulting in incorrectly detecting splats. ------------------------------------------------------------------------ llvm-svn: 344810
2018-10-19Merging r343428:Tom Stellard1-1/+1
------------------------------------------------------------------------ r343428 | ctopper | 2018-09-30 16:43:30 -0700 (Sun, 30 Sep 2018) | 3 lines [X86] Change an llvm_unreachable to a report_fatal_error so the optimizer will stop making us reach the other report_fatal_error in this function. There's a conditional report_fatal_error just above this llvm_unreachable. The optimizer when seeing the unreachable removes the conditional and just makes any other error trigger the existing report_fatal_error. ------------------------------------------------------------------------ llvm-svn: 344805
2018-10-19Merging r343443:Tom Stellard2-0/+69
------------------------------------------------------------------------ r343443 | ctopper | 2018-10-01 00:08:41 -0700 (Mon, 01 Oct 2018) | 9 lines [X86] Stop X86DomainReassignment from creating copies between GR8/GR16 physical registers and k-registers. We can only copy between a k-register and a GR32/GR64 register. This patch detects that the copy will be illegal and prevents the domain reassignment from happening for that closure. This probably isn't the best fix, and we should probably figure out how to handle this correctly. Fixes PR38803. ------------------------------------------------------------------------ llvm-svn: 344804
2018-10-19Merging r343347:Tom Stellard1-0/+0
------------------------------------------------------------------------ r343347 | cmatthews | 2018-09-28 10:55:18 -0700 (Fri, 28 Sep 2018) | 4 lines make lit builtins a package cat.py is not being installed when lit is installed from source. So tests that use the internal shell fail when using cat. ------------------------------------------------------------------------ llvm-svn: 344792
2018-09-13Update release notes for lld 7.llvmorg-7.0.0Rui Ueyama1-7/+18
llvm-svn: 342187
2018-09-11Clarify the wording for the state of the lld/MinGW targetMartin Storsjo1-2/+2
llvm-svn: 341976
2018-09-11Update release notes to say that lld/MinGW is production-ready.Rui Ueyama1-3/+4
llvm-svn: 341936
2018-09-11ReleaseNotes: some notes from Andres FreundHans Wennborg1-0/+5
llvm-svn: 341916
2018-09-11ReleaseNotes: fixesHans Wennborg1-11/+11
llvm-svn: 341913
2018-09-11ReleaseNotes.rst: Add Zig to External Open Source Projects Using LLVM 7Hans Wennborg1-0/+16
Differential revision: https://reviews.llvm.org/D51118 llvm-svn: 341911
2018-09-11Update release notes for lld 7.0.Rui Ueyama1-9/+70
llvm-svn: 341890
2018-09-10docs: drop doxygen link; it doesn't workHans Wennborg1-18/+0
llvm-svn: 341829
2018-09-10docs: drop another in-progress warningHans Wennborg1-5/+0
llvm-svn: 341828
2018-09-10ReleaseNotes: tiny fixllvmorg-7.0.0-rc3Hans Wennborg1-2/+0
llvm-svn: 341805
2018-09-10ReleaseNotes: minor tweaksHans Wennborg1-3/+3
llvm-svn: 341804
2018-09-10Merging r341642:Hans Wennborg7-3/+133
------------------------------------------------------------------------ r341642 | tnorthover | 2018-09-07 11:21:25 +0200 (Fri, 07 Sep 2018) | 8 lines ARM: fix Thumb2 CodeGen for ldrex with folded frame-index. Because t2LDREX (& t2STREX) were marked as AddrModeNone, but did allow a FrameIndex operand, rewriteT2FrameIndex asserted. This gives them a proper addressing-mode and tells the rewriter about it so that encodable offsets are exploited and others are rejected. Should fix PR38828. ------------------------------------------------------------------------ llvm-svn: 341783
2018-09-10Merging r341670 and r341672:Hans Wennborg1-5/+4
------------------------------------------------------------------------ r341670 | tstellar | 2018-09-07 17:42:01 +0200 (Fri, 07 Sep 2018) | 15 lines MachO: Fix out-of-bounds memory access in getString16 Summary: This fixes the following tests when gcc is compiled with gcc8: lld :: mach-o/do-not-emit-unwind-fde-arm64.yaml lld :: mach-o/eh-frame-relocs-arm64.yaml llvm.org/PR38096 Reviewers: lhames, kledzik, javed.absar Subscribers: kristof.beyls, llvm-commits Differential Revision: https://reviews.llvm.org/D51547 ------------------------------------------------------------------------ ------------------------------------------------------------------------ r341672 | tstellar | 2018-09-07 17:51:52 +0200 (Fri, 07 Sep 2018) | 3 lines MachO: Change getString16() back to inline function This was accidentally changed in r341670. ------------------------------------------------------------------------ llvm-svn: 341780
2018-09-07Regenerate DiagnosticsReference.rstHans Wennborg1-571/+955
llvm-svn: 341665
2018-09-07Remove ReleaseNotes as they were emptyHans Wennborg2-21/+0
llvm-svn: 341664
2018-09-07ReleaseNotes: tidy up for the releaseHans Wennborg1-46/+11
llvm-svn: 341663
2018-09-07ReleaseNotes: tidy up for the releaseHans Wennborg1-11/+1
llvm-svn: 341662
2018-09-07ReleaseNotes: tidy up for the releaseHans Wennborg1-131/+52
llvm-svn: 341661
2018-09-07ReleaseNotes: tidy up for the releaseHans Wennborg1-86/+42
llvm-svn: 341640
2018-09-06Merging r341512:Hans Wennborg4-6/+30
------------------------------------------------------------------------ r341512 | ctopper | 2018-09-06 04:03:14 +0200 (Thu, 06 Sep 2018) | 7 lines [X86][Assembler] Allow %eip as a register in 32-bit mode for .cfi directives. This basically reverts a change made in r336217, but improves the text of the error message for not allowing IP-relative addressing in 32-bit mode. Fixes PR38826. Patch by Iain Sandoe. ------------------------------------------------------------------------ llvm-svn: 341530
2018-09-06Merging r340609:Hans Wennborg3-10/+51
------------------------------------------------------------------------ r340609 | ldionne | 2018-08-24 16:10:28 +0200 (Fri, 24 Aug 2018) | 13 lines [libc++] Fix handling of negated character classes in regex Summary: This commit fixes a regression introduced in r316095, where we don't match inverted character classes when there's no negated characrers in the []'s. rdar://problem/43060054 Reviewers: mclow.lists, timshen, EricWF Subscribers: christof, dexonsmith, cfe-commits Differential Revision: https://reviews.llvm.org/D50534 ------------------------------------------------------------------------ llvm-svn: 341529
2018-09-06Merging r341442:Hans Wennborg1-4/+5
------------------------------------------------------------------------ r341442 | bcain | 2018-09-05 04:15:54 +0200 (Wed, 05 Sep 2018) | 8 lines Add glibc_prereq to platform limits mmsghdr sendmmsg requires glibc >= 2.14. Fixes PR38589. Review: https://reviews.llvm.org/D51538 ------------------------------------------------------------------------ llvm-svn: 341524
2018-09-06Merging r341416:Hans Wennborg2-0/+29
------------------------------------------------------------------------ r341416 | annat | 2018-09-05 00:12:23 +0200 (Wed, 05 Sep 2018) | 11 lines [LV] First order recurrence phis should not be treated as uniform This is fix for PR38786. First order recurrence phis were incorrectly treated as uniform, which caused them to be vectorized as uniform instructions. Patch by Ayal Zaks and Orivej Desh! Reviewed by: Anna Differential Revision: https://reviews.llvm.org/D51639 ------------------------------------------------------------------------ llvm-svn: 341523
2018-09-06ReleaseNotes: ARM SVE asm/disasm supportHans Wennborg1-0/+3
llvm-svn: 341522
2018-09-06ReleaseNotes: libc++ _LIBCPP_HIDE_FROM_ABI_PER_TUHans Wennborg1-2/+9
llvm-svn: 341521
2018-09-06ReleaseNotes: support for new-pm passes in the opt toolHans Wennborg1-0/+3
llvm-svn: 341520
2018-09-05ReleaseNotes for PowerPCHans Wennborg1-1/+25
Patch by Lei Huang! llvm-svn: 341453
2018-09-04Merging r339253:Hans Wennborg6-0/+6
------------------------------------------------------------------------ r339253 | psmith | 2018-08-08 16:50:33 +0200 (Wed, 08 Aug 2018) | 7 lines Add missing REQUIRES x86 to tests. Add REQUIRES to tests that fail when an x86 backend is not present. Differential Revision: https://reviews.llvm.org/D50440 ------------------------------------------------------------------------ llvm-svn: 341367
2018-09-04ReleaseNotes: tiny tweakHans Wennborg1-1/+1
llvm-svn: 341359
2018-09-04Add release notes for the new GNUstep Objective-C ABI.David Chisnall1-0/+8
llvm-svn: 341355
2018-09-04Disable the GNUstep v2 ABI on Windows.David Chisnall1-2/+1
The code remains so that we can potentially reenable it in a point release, but the driver will reject it. Several issues were raised during testing that made it clear that this was not quite ready for general consumption. Approved by: Hans Wennborg llvm-svn: 341354
2018-09-04Merging r340959:Hans Wennborg2-15/+30
------------------------------------------------------------------------ r340959 | mareko | 2018-08-29 22:03:00 +0200 (Wed, 29 Aug 2018) | 9 lines AMDGPU: Handle 32-bit address wraparounds for SMRD opcodes Summary: This fixes GPU hangs with OpenGL bindless handle arithmetic. Reviewers: arsenm, nhaehnle Subscribers: kzhuravl, jvesely, wdng, yaxunl, dstuttard, tpr, t-tye, llvm-commits Differential Revision: https://reviews.llvm.org/D51203 ------------------------------------------------------------------------ llvm-svn: 341351
2018-09-04Merging r341244:Hans Wennborg1-1/+1
------------------------------------------------------------------------ r341244 | tstellar | 2018-08-31 22:15:31 +0200 (Fri, 31 Aug 2018) | 11 lines lit: Use sys.executable for executing builtin commands Summary: The python executable may not exist on all systems so use sys.executable instead. Reviewers: ddunbar, stella.stamenova Subscribers: delcypher, llvm-commits Differential Revision: https://reviews.llvm.org/D51511 ------------------------------------------------------------------------ llvm-svn: 341349
2018-08-31Merging r341094:Hans Wennborg2-0/+74
------------------------------------------------------------------------ r341094 | efriedma | 2018-08-30 20:59:24 +0200 (Thu, 30 Aug 2018) | 11 lines [SROA] Fix alignment for uses of PHI nodes. Splitting an alloca can decrease the alignment of GEPs into the partition. Normally, rewriting accounts for this, but the code was missing for uses of PHI nodes and select instructions. Fixes https://bugs.llvm.org/show_bug.cgi?id=38707 . Differential Revision: https://reviews.llvm.org/D51335 ------------------------------------------------------------------------ llvm-svn: 341220
2018-08-31[docs][mips] 7.0 Release notesSimon Atanasyan1-1/+38
Differential revision: https://reviews.llvm.org/D51355 llvm-svn: 341203