- May 01, 2020
-
-
Florian Hahn authored
This fixes potential reference invalidations, when no lattice value is assigned for CopyOf. As the state of CopyOf won't change while in handleCallResult, we can get a copy once and use that. Should fix PR45749.
-
Melanie Blower authored
This reverts commit 4f1e9a17. due to fail on buildbot, sorry for the noise
-
Sanjay Patel authored
PR45481: https://bugs.llvm.org/show_bug.cgi?id=45481 SDAG has an identical transform to this, so there's little chance of any real-world impact. OTOH, that means we are effectively sweeping the bug out of sight because poison exists in codegen too.
-
Melanie Blower authored
Reviewers: rjmccall, erichkeane, sepavloff Differential Revision: https://reviews.llvm.org/D72841
-
Simon Pilgrim authored
-
Sanjay Patel authored
D68231 would change this, but the existing test doesn't cover what was probably intended (a libcall test).
-
Benjamin Kramer authored
-
Benjamin Kramer authored
-
Benjamin Kramer authored
-
Eric Astor authored
Summary: If no inputs and no output path are provided, llvm-lib should produce a useful error. Before this, it would fail by reading from an unitialized StringRef. Reviewed By: vvereschaka Differential Revision: https://reviews.llvm.org/D79227
-
Denis Khalikov authored
Summary: This is an initial version, currently supports OpString and OpLine for autogenerated operations during (de)serialization. Differential Revision: https://reviews.llvm.org/D79091
-
Jay Foad authored
-
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
-