- May 01, 2020
-
-
Samuel Thibault authored
Add missing files Summary: The current code for GNU/Linux is actually completely generic, and can be moved to Gnu, so it can benefit GNU/Hurd and GNU/kFreeBSD Reviewers: kristina, sammccall, lebedev.ri, MaskRay, arsenm, phosek Reviewed By: MaskRay, phosek Subscribers: wdng, ormris, emaste, arichardson, krytarowski, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D73845
-
Simon Pilgrim authored
Handle concat_vectors(extract_subvector(broadcast(x)), extract_subvector(broadcast(x))) -> broadcast(x) To expose this we also need collectConcatOps to recognise the insert_subvector(x, extract_subvector(x, lo), hi) subvector splat pattern
-
Samuel Thibault authored
Summary: The current code for GNU/Linux is actually completely generic, and can be moved to Gnu, so it can benefit GNU/Hurd and GNU/kFreeBSD Reviewers: kristina, sammccall, lebedev.ri, MaskRay, arsenm, phosek Reviewed By: MaskRay, phosek Subscribers: wdng, ormris, emaste, arichardson, krytarowski, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D73845
-
James Henderson authored
This option was added several months ago in commit e84468c1. Reviewed by: MaskRay, erik.pilkington, steven_wu Differential Revision: https://reviews.llvm.org/D79166
-
Jay Foad authored
VMEM loads of the same type (sampler vs no sampler) are guaranteed to write their result registers in order, so there is no need for an s_waitcnt even if they write to overlapping vgprs. Differential Revision: https://reviews.llvm.org/D79176
-
Craig Topper authored
The Custom handler wasn't doing anything for these cases anyway.
-
MaheshRavishankar authored
Also add lowering of sine operation to SPIR-V dialect. Differential Revision: https://reviews.llvm.org/D79102
-
River Riddle authored
The current OpBuilder has a set of virtual functions required by the fact that the PatternRewriter inherits from it for convenience. The PatternRewriter is required to know about IR mutations for correctness. This revision changes the relationship to be explicit by having users register a listener with the builder instead of using inheritance/vtables. This still requires that users properly transfer the listener when creating new builders, but has several benefits: * More than one builder can be created during pattern rewrites(assuming that the listener is properly forwarded) * OpBuilder no longer requires a vtable, and thus does not incur the cost when a listener isn't present. Differential Revision: https://reviews.llvm.org/D79206
-
Hanhan Wang authored
Summary: Maps ZeroExtendIOp and TruncateIOp to spirv::UConvertOp and spirv::SConvertOp. Depends On D78974 Differential Revision: https://reviews.llvm.org/D79143
-
Hanhan Wang authored
Summary: The current implementation in SPIRVTypeConverter just unconditionally turns everything into 32-bit if it doesn't meet the requirements of extensions or capabilities. In this case, we can load a 32-bit value and then do bit extraction to get the value. Differential Revision: https://reviews.llvm.org/D78974
-
Hubert Tong authored
-
Hubert Tong authored
-
Suyog Sarda authored
While restoring latency, check if any of the registers of source instruction is a subregister of the successor instructions apart from being same register.
-
Julian Lettner authored
Properly print the test times histogram even for aborted (user interrupt, [Ctrl+C]) test runs.
-
Craig Topper authored
The vendor id is used to determine whether the processor supports hardware CRC32 in the Scudo code. The previous discussion about the patch is in [1], and more information about Hygon Dhyana processor is in[2]. [1]: https://reviews.llvm.org/D62368 [2]: https://git.kernel.org/torvalds/c/c9661c1e80b609cd038db7c908e061f0535804ef Patch by fanjinke (Jinke Fan) Differential Revision: https://reviews.llvm.org/D78874
-
Julian Lettner authored
Track and print the number of tests that were discovered but not executed due to test selection options: * --filter (regex filter) * --max-tests (limits number of tests) * sharding feature With this change all discovered tests are accounted for: every discovered test is included in one of the counts printed in the summary. Reviewed By: jdenny Differential Revision: https://reviews.llvm.org/D78078
-
Hubert Tong authored
The setting of `MCAsmInfo` properties for XCOFF got split between `MCAsmInfoXCOFF` and `PPCXCOFFMCAsmInfo`. Except for the properties that are dependent on the target information being passed via the constructor, the properties being set in `PPCXCOFFMCAsmInfo` had no fundamental reason for being treated as specific for XCOFF on PowerPC. Indeed, the property that might be considered more specific to PowerPC, `NeedsFunctionDescriptors`, was set in `MCAsmInfoXCOFF`. XCOFF being specific to PowerPC anyway, this patch consolidates the setting of the properties into `MCAsmInfoXCOFF` except for the cases that are dependent on the information provided via the `PPCXCOFFMCAsmInfo` constructor. This patch also reorders the assignments to the fields to match the declaration order in `MCAsmInfo`.
-
Hubert Tong authored
Summary: This patch splits mostly unrelated size constants into separate constexpr variables, sets explicit underlying types for the enumerations to match the fields they are used for, and improves various comments. This patch also replaces `<cname>` headers with `<name.h>` headers to match the usage of the declared names as global namespace members in the file. Reviewers: jasonliu, DiggerLin, daltenty, sfertile Reviewed By: jasonliu, sfertile Differential Revision: https://reviews.llvm.org/D79136
-
Craig Topper authored
This patch adds the x, t and g modifiers for inline asm from GCC. These will print a vector register as xmm*, ymm* or zmm* respectively. I also fixed register names with modifiers with inteldialect so they are no longer printed with a leading %. Patch by Amanieu d'Antras Differential Revision: https://reviews.llvm.org/D78977
-
Andrew Browne authored
-
Andrew Browne authored
This reverts commit ac2635e4. Revert was too hasty, build was already broken.
-
Craig Topper authored
Also fix some cost tables for vXi1 types to match the costs entries for the types they will be promoted to. Differential Revision: https://reviews.llvm.org/D79045
-
Andrew Browne authored
This reverts commit 25e2e922. Buildbot failure.
-
Andrew Browne authored
Summary: This was introduced in dda3c19a aka D77621. The unused template instantiation causes a warning on 32 bit systems about truncating a uint64_t to 32-bit size_t. Reviewed By: dblaikie, smeenai Differential Revision: https://reviews.llvm.org/D79214
-
Douglas Yung authored
Reviewers: craig.topper Reviewed By: craig.topper Subscribers: cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D79194
-
Shoaib Meenai authored
Android doesn't have a libgcc_s and uses libgcc instead, so adjust the build accordingly. This matches compiler-rt's build setup. libc++abi and libunwind were already checking for libgcc but in a different context. This change makes them search only for libgcc on Android now, but the code to link against libgcc if it were present was already there. Reviewed By: #libc, #libc_abi, #libunwind, rprichard, srhines Differential Revision: https://reviews.llvm.org/D78787
-
Diogo Sampaio authored
Summary: pr42199 When using regex_constants::match_prev_avail, it is defined that --first is valid, and match_not_bol and match_not_bow should be ignored. At the moment these flags are not ignored. This fixis that. Reviewers: ldionne, miyuki, EricWF, mclow.lists, #libc Reviewed By: ldionne, miyuki, #libc Subscribers: broadwaylamb, dexonsmith, libcxx-commits Tags: #libc Differential Revision: https://reviews.llvm.org/D75622
-
LLVM GN Syncbot authored
-
Wen-Heng (Jack) Chung authored
- Extract common logic between -convert-gpu-to-nvvm and -convert-gpu-to-rocdl. - Cope with the fact that alloca operates on different addrspaces between NVVM and ROCDL. - Modernize unit tests for ROCDL dialect. Differential Revision: https://reviews.llvm.org/D79021
-
Eric Astor authored
`rm` the file, THEN run the command that shouldn't create it, THEN confirm that it doesn't exist
-
Sergey Dmitriev authored
Summary: That makes AbstractCallSite::isCallee(const Use *) behavior consistent with AbstractCallSite constructor. Reviewers: jdoerfert Reviewed By: jdoerfert Subscribers: mgorny, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D79188
-
Nicolas Vasilache authored
Summary: This revision cleans up a layer of complexity in ScopedContext and uses InsertGuard instead of previously manual bookkeeping. The method `getBuilder` is renamed to `getBuilderRef` and spurious copies of OpBuilder are tracked. This results in some canonicalizations not happening anymore in the Linalg matmul to vector test. This test is retired because relying on DRRs for this has been shaky at best. The solution will be better support to write fused passes in C++ with more idiomatic pattern composition and application. Differential Revision: https://reviews.llvm.org/D79208
-
Evgenii Stepanov authored
Summary: Implement pattern initialization of memory (excluding the secondary allocator because it already has predictable memory contents). Expose both zero and pattern initialization through the C API. Reviewers: pcc, cryptoad Subscribers: #sanitizers, llvm-commits Tags: #sanitizers Differential Revision: https://reviews.llvm.org/D79133
-
aartbik authored
Summary: Added boolean support to vector.print. Useful for upcoming "mask" tests. Reviewers: ftynse, nicolasvasilache, andydavis1 Reviewed By: andydavis1 Subscribers: mehdi_amini, rriddle, jpienaar, shauheen, antiagainst, nicolasvasilache, arpith-jacob, mgester, lucyrfox, liufengdb, Joonsoo, grosul1, frgossen, Kayjukh, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D79198
-
Jonas Devlieghere authored
A patch command with the wrong -p value (strip prefix) created the nested lldb folder.
-
Nikita Popov authored
-
Arthur Eubanks authored
Summary: getCalledFunction() returns null for indirect function invocations. Subscribers: hiraditya, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D79203
-
Michael Liao authored
-
Sam Clegg authored
Reverting part of https://reviews.llvm.org/D79137 which caused an failure in an ObjectYAML test.
-
Florian Hahn authored
This cleanup was suggested as part of D78458.
-