- Apr 29, 2020
-
-
Victor Campos authored
Summary: AArch64's system register ERXTS_EL1 is present in the backend as a component of the Arm Reliability, Availability and Serviceability (RAS) extension. However, it has been removed from the specification before its final release. This patch removes the register. Reviewers: SjoerdMeijer, DavidSpickett Reviewed By: DavidSpickett Subscribers: DavidSpickett, kristof.beyls, hiraditya, danielkiss, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D79007
-
Mircea Trofin authored
Reviewers: dblaikie, craig.topper, wmi Subscribers: hiraditya, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D79047
-
Louis Dionne authored
The issue we were seeing before should have been fixed by 178a0c80.
-
David Zarzycki authored
-
Wen-Heng (Jack) Chung authored
On certain targets std.subview should be able to take memrefs from non-zero addrspaces. Improve lowering logic to llvm dialect and amend the tests. Differential Revision: https://reviews.llvm.org/D79024
-
Simon Pilgrim authored
Revert rG5c4b4a62 "PseudoSourceValue.h - reduce GlobalValue.h include to forward declaration. NFC." Causes buildbot failures.
-
Wen-Heng (Jack) Chung authored
Enhance lowering logic and tests so vector.transfer_read and vector.transfer_write take memrefs on non-zero addrspaces. Differential Revision: https://reviews.llvm.org/D79023
-
Jay Foad authored
-
Jay Foad authored
-
Kirill Bobyrev authored
Summary: Dependencies ensure that Protobufs are generated before all libraries depending on the headers are **built**, not linked. Reviewers: sammccall Reviewed By: sammccall Subscribers: mgorny, ilya-biryukov, MaskRay, jkorous, arphaman, kadircet, usaxena95, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D79085
-
Simon Pilgrim authored
Fix MachineMemOperand.h implicit dependency on Type.h via PseudoSourceValue.h
-
Aaron Ballman authored
-
Sean Fertile authored
This reverts commit 03ffe586. Full tile of reverted commit is: [ELF][PPC64] Don't perform toc-indirect to toc-relative relaxation for R_PPC64_TOC16_HA not followed by R_PPC64_TOC16_LO_DS Breaks the multistage lld PowerPC buildbot.
-
Pavel Labath authored
The cause of this crash is relatively simple -- we are using a SymbolFileDWARFDwo to parse a (skeleton) dwarf unit. This cause the CompileUnit to be created with the wrong ID, which later triggers an assertion in SymbolFile::SetCompileUnitAtIndex. The fix is also simple -- ensure we use the right symbol file for parsing. However, a fairly elaborate setup is needed trigger this bug, because ParseCompileUnit is normally called very early on (and with the right symbol file object) during the process of accessing a compile unit. The only way this can be triggered is if the DWARF unit is "accidentally" pulled into scope during expression evaluation This can happen if the "this" object used for the context of an expression is in a namespace, and that namespace is also present in other compile units The included test recreates this setup.
-
Louis Dionne authored
Since 88af3ddb, libc++ will prefer Python 3 when available. It is available on Apple platforms, so subprocess.check_output will return bytes instead of str. This lead to comparisons against str to be false, and the MacOS platform not being detected properly.
-
Sam McCall authored
Summary: This enforces layering, reduces a sprawling clangd/ directory, and makes life easier for embedders. Reviewers: kbobyrev Subscribers: mgorny, ilya-biryukov, javed.absar, MaskRay, jkorous, arphaman, jfb, kadircet, usaxena95, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D79014
-
Hans Wennborg authored
It broke building libclang.dll in Windows builds configured with LLVM_ENABLE_PIC=OFF. See discussion on the cfe-commits thread.
-
Sander de Smalen authored
These are custom expanded in CGBuiltin: svmov_b_z(pg, op) <=> svand_b_z(pg, op, op) svnot_b_z(pg, op) <=> sveor_b_z(pg, op, pg) Reviewers: SjoerdMeijer, efriedma, ctetreau, rengolin Reviewed By: efriedma Differential Revision: https://reviews.llvm.org/D79039
-
Valeriy Savchenko authored
Move DenseMapInfo specialization to llvm namespace
-
Sam Parker authored
-
Sam Parker authored
-
Simon Pilgrim authored
It should be either a float(32) or an int(32).
-
Simon Pilgrim authored
The improvements to the x86 vector insert/extract element costs in D74976 resulted in the estimated costs for vector initialization and scalarization increasing higher than should be expected. This is particularly noticeable on pre-SSE4 targets where the available of legal INSERT_VECTOR_ELT ops is more limited. This patch does 2 things: 1 - it implements X86TTIImpl::getScalarizationOverhead to more accurately represent the typical costs of a ISD::BUILD_VECTOR pattern. 2 - it adds a DemandedElts mask to getScalarizationOverhead to permit the SLP's BoUpSLP::getGatherCost to be rewritten to use it directly instead of accumulating raw vector insertion costs. This fixes PR45418 where a v4i8 (zext'd to v4i32) was no longer vectorizing. A future patch should extend X86TTIImpl::getScalarizationOverhead to tweak the EXTRACT_VECTOR_ELT scalarization costs as well. Reviewed By: @craig.topper Differential Revision: https://reviews.llvm.org/D78216
-
Sander de Smalen authored
Patch by Andrzej Warzynski Reviewed By: efriedma Tags: #clang Differential Revision: https://reviews.llvm.org/D78677
-
Florian Hahn authored
The crash that caused the original revert has been fixed in a3c964a2. I also added a reduced version of the crash reproducer. This reverts the revert commit 2107af9c.
-
Uday Bondhugula authored
(A previous version of this, dd2c639c, was reverted.) Introduce op trait PolyhedralScope for ops to define a new scope for polyhedral optimization / affine dialect purposes, thus generalizing such scopes beyond FuncOp. Ops to which this trait is attached will define a new scope for the consideration of SSA values as valid symbols for the purposes of polyhedral analysis and optimization. Update methods that check for dim/symbol validity to work based on this trait. Differential Revision: https://reviews.llvm.org/D79060
-
Valeriy Savchenko authored
Summary: Objective-C Class objects can be used to do a dynamic dispatch on class methods. The analyzer had a few places where we tried to overcome the dynamic nature of it and still guess the actual function that is being called. That was done mostly using some simple heuristics covering the most widespread cases (e.g. [[self class] classmethod]). This solution introduces a way to track types represented by Class objects and work with that instead of direct AST matching. rdar://problem/50739539 Differential Revision: https://reviews.llvm.org/D78286
-
Florian Hahn authored
-
Jonas Devlieghere authored
This reverts commit b14c37a2.
-
Jay Foad authored
-
Dmitri Gribenko authored
-
Vitaly Buka authored
Edited hwasan by mistake. This reverts commit a3b942ed.
-
Vitaly Buka authored
With GCC 8 stack is different.
-
Richard Smith authored
This fixes a regression introduced in r354736, and makes our behavior compatible with that of Clang 8 and GCC.
-
Richard Smith authored
It's not clear whether clangd should really consider #import to mark a header as self-contained or not, but this change preserves the old (and unit-tested) behavior.
-
Craig Topper authored
-
David Blaikie authored
-
Kazuaki Ishizaki authored
Differential Revision: https://reviews.llvm.org/D79065
-
David Blaikie authored
-
David Blaikie authored
-