- Apr 24, 2020
-
-
Simon Pilgrim authored
We need to include Error.h already
-
Simon Pilgrim authored
-
Nico Weber authored
-
Lei Zhang authored
This can help provide a common interface for view-like ops so that for example Linalg's dependency analysis can avoid relying on concrete ops. Differential Revision: https://reviews.llvm.org/D78645
-
Nico Weber authored
-
Alexey Bataev authored
Summary: Patch forces codegen to use the new runtime functions for task reductions where the issue with passing the address of the original variables to the UDR initializers is fixed. Also, this patch is required for upcoming support of task modifier inreduction clause. Reviewers: jdoerfert Subscribers: yaxunl, guansong, cfe-commits, caomhin Tags: #clang Differential Revision: https://reviews.llvm.org/D78733
-
Lei Zhang authored
Now both Operation::operand_range and Operation::result_range have .begin() and .end() for ranged-based for loop and we have ValueRange for wrapping a single Value. We can remove the SmallVector materialization! Differential Revision: https://reviews.llvm.org/D78766
-
Alexey Lapshin authored
Summary: AttrIndex could be removed from DWARFAbbreviationDeclaration::getAttributeValue. Reviewers: clayborg, dblaikie Differential Revision: https://reviews.llvm.org/D78672
-
Sander de Smalen authored
The IsReverseCompare flag tells CGBuiltin to swap the operands, so that a LT/LE intrinsics can be expressed in terms of GE/GT intrinsics. This patch also adds builtins for the wide-variants of the compares. Reviewers: SjoerdMeijer, efriedma, ctetreau Reviewed By: efriedma Tags: #clang Differential Revision: https://reviews.llvm.org/D78747
-
Nico Weber authored
-
Simon Pilgrim authored
-
Peter Smith authored
Fixed error detected by msan. The size field of the .ARM.exidx synthetic section needs to be initialized to at least estimation level before calling assignAddresses as that will use the size field. This was previously reverted in 1ca16fc4. Differential Revision: https://reviews.llvm.org/D78422
-
Yaxun (Sam) Liu authored
Change-Id: Ibe87b1633cc7516479bb08bf51b6860a1585a94f
-
Simon Pilgrim authored
The implementation and uses were removed back at rL223802 (IR: Split Metadata from Value) but these were missed.
-
Simon Pilgrim authored
Reduce StringRef.h include to forward declaration. Remove unnecessary ConstantFP/ConstantInt forward declarations as we have to include Constants.h
-
Simon Pilgrim authored
-
Simon Pilgrim authored
We already need to include MachineRegisterInfo.h
-
Simon Pilgrim authored
We only need the SMLoc definition and the SourceMgr forward declaration.
-
Simon Pilgrim authored
-
Kirill Bobyrev authored
Related revision: D78521
-
Georgii Rymar authored
Currently we have computations of `p_filesz` and `p_memsz` mixed together with the use of a loop over fragments. After recent changes it is possible to avoid using a loop for the computation of `p_filesz`, since we know that fragments are sorted by their file offsets. The main benefit of this change is that splits the computation of `p_filesz` and `p_memsz` what is simpler and allows us to fix the computation of the `p_memsz` independently (D78005 shows the issue that we have currently). Differential revision: https://reviews.llvm.org/D78628
-
Kirill Bobyrev authored
-
Haojian Wu authored
UseIterator; This would fix our internal build.
-
Kirill Bobyrev authored
Summary: * Merge clangd-remote-client into dexp * Implement `clangd::remote::IndexClient` that is derived from `SymbolIndex` * Upgrade remote mode-related CMake infrastructure Reviewers: sammccall Reviewed By: sammccall Subscribers: mgorny, ilya-biryukov, MaskRay, jkorous, arphaman, kadircet, usaxena95, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D78521
-
Piotr Sobczak authored
Summary: Frontend guarantees that coherent accesses have corresponding cache policy bits set (glc, dlc). Therefore there is no need for extra instructions that invalidate cache. Subscribers: arsenm, kzhuravl, jvesely, wdng, nhaehnle, yaxunl, dstuttard, tpr, t-tye, hiraditya, kerbowa, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D78800
-
Benjamin Kramer authored
There's an ABI breakage here if LLVM is compiled in C++14 without aligned allocation and a user tries to use the result with aligned allocation. If DenseMap or unique_function is used across that ABI boundary it will break (PR45413). Moving it out of line is a bit of a band-aid and LLVM doesn't really give ABI guarantees at this level, but given the number of complaints I've received over this it still seems worth fixing.
-
Simon Pilgrim authored
-
David Green authored
-
Louis Dionne authored
The runtime for Blocks may not be available even though the Blocks language extension _is_ available. Instead of potentially failing, this commit is much more conservative and assumes the runtime for Blocks is only provided on Apple platforms. Differential Revision: https://reviews.llvm.org/D78757
-
Kerry McLaughlin authored
Summary: This patch maps IR operations for sdiv & udiv to the @llvm.aarch64.sve.[s|u]div intrinsics. A ptrue must be created during lowering as the div instructions have only a predicated form. Patch contains changes by Andrzej Warzynski. Reviewers: sdesmalen, c-rhodes, efriedma, cameron.mcinally, rengolin Reviewed By: efriedma Subscribers: tschuett, kristof.beyls, hiraditya, rkruppe, psnobl, andwar, cfe-commits, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D78569
-
Sander de Smalen authored
This patch also adds the enum `sv_prfop` for the prefetch operation specifier and checks to ensure the passed enum values are valid. Reviewers: SjoerdMeijer, efriedma, ctetreau Reviewed By: efriedma Tags: #clang Differential Revision: https://reviews.llvm.org/D78674
-
Max Kazantsev authored
One of transforms the loop vectorizer makes is LCSSA formation. In some cases it is the only transform it makes. We should not drop CFG analyzes if only LCSSA was formed and no actual CFG changes was made. We should think of expanding this logic to other passes as well, and maybe make it a part of PM framework. Reviewed By: Florian Hahn Differential Revision: https://reviews.llvm.org/D78360
-
Sander de Smalen authored
Reviewed By: efriedma Tags: #clang Differential Revision: https://reviews.llvm.org/D78748
-
Sander de Smalen authored
D77735 only added scatters for the non-temporal variants. Reviewers: SjoerdMeijer, efriedma, andwar Reviewed By: efriedma Tags: #clang Differential Revision: https://reviews.llvm.org/D78751
-
serge-sans-paille authored
It keeps them default constructible.
-
Haojian Wu authored
Summary: this maybe not ideal, but it is trivial and does fix the crash. Fixes https://github.com/clangd/clangd/issues/156. Reviewers: sammccall Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, kadircet, usaxena95, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D78715
-
Simon Atanasyan authored
MCELFObjectWriter::setRType## methods are always used altogether to build complete MIPS N64 ABI "chain" of relocations. Using single function for this task makes code less verbose.
-
Kazushi (Jam) Marukawa authored
Summary: Changing all mnemonic to match assembly instructions to simplify mnemonic naming rules. This time update all floating-point arithmetic instructions. Reviewed By: simoll Differential Revision: https://reviews.llvm.org/D78768
-
Haojian Wu authored
-
Kang Zhang authored
-