- Jun 23, 2022
-
-
Bruno De Fraine authored
This is a fix for the miscompilation reported in https://github.com/llvm/llvm-project/issues/55384 Not adding a new test case since existing test cases already cover base classes (including new-struct-path tbaa). Reviewed By: jeroen.dobbelaere Differential Revision: https://reviews.llvm.org/D126956
-
Florian Hahn authored
This extends removeDeadRecipe to remove recipes across the whole plan. Reviewed By: Ayal Differential Revision: https://reviews.llvm.org/D127580
-
Kristof Beyls authored
Let's introduce and publish an LLVM community calendar. The idea is that organizers of events such as online sync-ups or office hours invite calendar@llvm.org to the event they're creating. That way, the calendar publicly visible at https://calendar.google.com/calendar/u/0/embed?src=calendar@llvm.org will show the event. The hope is that having a single calendar showing all LLVM events makes it easier for both new comers and experienced people to discover events they're interested in. This patch partially implements https://github.com/llvm/llvm-project/issues/55426 We could also give pointers to the calendar in a few other places, e.g. from the main LLVM page, but let's introduce the incrementally. Differential Revision: https://reviews.llvm.org/D127852
-
Aaron Ballman authored
I think it doesn't like the non-ASCII characters in the block, so using a text block to disable syntax highlighting. This should fix: https://lab.llvm.org/buildbot/#/builders/115/builds/29888
-
Kiran Chandramohan authored
During the upstreaming process, it was decided to move contents of the FIR CSE pass to the MLIR pass. Most of the FIR CSE changes that are used are already moved to the MLIR pass. This patch calls the MLIR CSE pass in places where the FIR CSE pass is called in the pass pipeline. Note: This is part of upstreaming from the fir-dev branch of https://github.com/flang-compiler/f18-llvm-project. Reviewed By: awarzynski, clementval Differential Revision: https://reviews.llvm.org/D128365 Co-authored-by:
Eric Schweitz <eschweitz@nvidia.com> Co-authored-by:
Valentin Clement <clementval@gmail.com> Co-authored-by:
Andrzej Warzynski <andrzej.warzynski@arm.com>
-
Nikita Popov authored
This test was broken by 719658d0. How did an assembly test get into clang/test?
-
David Spickett authored
This reverts commit 1beededc0e7d86d09cee972f0b9f0030a139cab4. Due to failures on the Arm/AArch64 build bots: https://lab.llvm.org/buildbot/#/builders/96/builds/25032
-
Nikita Popov authored
This only touches IR tests (or tests without codegen changes).
-
Dmitry Preobrazhensky authored
Fix bug #56163. Add W32/W64 tests for all VOP3.DPP opcodes. Differential Revision: https://reviews.llvm.org/D128369
-
isuckatcs authored
Introducing structured binding to data members and more. To handle binding to arrays, ArrayInitLoopExpr is also evaluated, which enables the analyzer to store information in two more cases. These are: - when a lambda-expression captures an array by value - in the implicit copy/move constructor for a class with an array member Differential Revision: https://reviews.llvm.org/D126613 -
Nikita Popov authored
This is in preparation for https://discourse.llvm.org/t/rfc-remove-most-constant-expressions/63179. As part of that change, we'll want to invoke some of these constant folding APIs explicitly, as it won't happen as part of ConstantExpr::getXYZ() anymore. Ideally, we'd merge these with the DL-aware constant folding APIs and only call those, but this is not easily possible for some current usages (most important IRBuilder, which uses DL-independent constant folding by default, and some major layering changes would be needed to change that). This is basically a reboot of D115035 with different motivation. Differential Revision: https://reviews.llvm.org/D128213
-
Balázs Kéri authored
The functions 'mkdir', 'mknod', 'mkdirat', 'mknodat' return 0 on success and -1 on failure. The checker modeled these functions with a >= 0 return value on success which is changed to 0 only. This fix makes ErrnoChecker work better for these functions. Reviewed By: steakhal Differential Revision: https://reviews.llvm.org/D127277
-
Weining Lu authored
This is an improvement to LoongArch codegen. In D127206 we combined ((x >> shamt) & shifted_mask) to bstrpick and here we do a similar combination when certain conditions are met. Thanks to @xen0n for reminding me. Differential Revision: https://reviews.llvm.org/D128191
-
Florian Hahn authored
If A >s B then A >=u 0, if B >=s -1. https://alive2.llvm.org/ce/z/cncGKi
-
Adrian Kuegel authored
We need to make sure that the types used in the body are valid element types for VectorType. Differential Revision: https://reviews.llvm.org/D128336
-
Luo, Yuanke authored
The base RA support infrastructure that only allow a specific register class be allocated in RA pss. Since greedy RA, basic RA derived from base RA, they all allow allocating specific register class. Fast RA doesn't support allocating register for specific register class. This patch is to enable ShouldAllocateClass in fast RA, so that it can support allocating register for specific register class. Differential Revision: https://reviews.llvm.org/D126771
-
Fangrui Song authored
This reverts commit cac60940. Caused -Os -fsanitize=memory -march=haswell miscompile to pytorch/cpuinfo. See my latest comment (may update) on D115462.
-
Fangrui Song authored
This reverts commit f1ee2738. Revert due to the revert of a dependent commit `[SLP]Improve shuffles cost estimation where possible.`
-
Craig Topper authored
-
chenglin.bi authored
This reverts commit 6c951c5e.
-
Serguei Katkov authored
Finding BDV for vector value does not handle freeze instruction. Adding its handling as it is done for scalar case. Reviewed By: apilipenko Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D128254
-
Valentin Clement authored
Fixes several bugs relating to initialization expressions. An initialization expression has no access to dynamic resources like the stack or the heap. It must reduce to a relocatable expression that the loader can complete at runtime. Adds regression test. This patch is part of the upstreaming effort from fir-dev branch. Reviewed By: PeteSteinfeld Differential Revision: https://reviews.llvm.org/D128380 Co-authored-by:
Jean Perier <jperier@nvidia.com> Co-authored-by:
Eric Schweitz <eschweitz@nvidia.com>
-
Charlie Barto authored
... to avoid ambiguity in overload resolution when ADL finds `std::format`. Differential Revision: https://reviews.llvm.org/D119213
-
wangpc authored
We can cast a string to a record via !cast, but we have no mechanism to check if it is valid and TableGen will raise an error if failed to cast. Besides, we have no semantic null in TableGen (we have `?` but different backends handle uninitialized value differently), so operator like `dyn_cast<>` is hard to implement. In this patch, we add a new operator `!exists<T>(s)` to check whether a record with type `T` and name `s` exists. Self-references are allowed just like `!cast`. By doing these, we can write code like: ``` class dyn_cast_to_record<string name> { R value = !if(!exists<R>(name), !cast<R>(name), default_value); } defvar v = dyn_cast_to_record<"R0">.value; // R0 or default_value. ``` Reviewed By: tra, nhaehnle Differential Revision: https://reviews.llvm.org/D127948 -
LLVM GN Syncbot authored
-
John Regehr authored
Differential Revision: https://reviews.llvm.org/D128317
-
Okwan Kwon authored
Differential Revision: https://reviews.llvm.org/D128398
-
Julian Lettner authored
atos currently doesn't show source line numbers for global variables, so global-location.cpp is failing after we switched from ASan-specific metadata to normal symbolication. See: https://reviews.llvm.org/D127552
-
Matt Arsenault authored
These tests were deleting the copy instruction, defeating the purpose of having it.
-
Matt Arsenault authored
This was leaving behind a use at the deleted instruction which the verifier would fail during allocation.
-
Matt Arsenault authored
This was producing a load into a dead register which was a verifier error.
-
Fazlay Rabbi authored
Differential Revision: https://reviews.llvm.org/D128397
-
Mingming Liu authored
[SampleProfile][Inline] Annotate sample profile inline remarks with link phase (prelink/postlink) information. Differential Revision: https://reviews.llvm.org/D126833
-
Paul Walker authored
The implication of this patch being AArch64ISD::DUP no longer supports scalable vectors. Differential Revision: https://reviews.llvm.org/D128265
-
jackalcooper authored
On macOS, Vulkan is emulated by MoltenVK. Some extra flags are required for "building robust and portable Vulkan based applications that are good citizens in the Vulkan ecosystem". More information: https://vulkan.lunarg.com/doc/sdk/1.3.216.0/mac/getting_started.html Reviewed By: antiagainst Differential Revision: https://reviews.llvm.org/D128173
-
Nikolas Klauser authored
`__GCC_CONSTRUCTIVE_SIZE` and `__GCC_DESTRUCTIVE_SIZE` are available since GCC 12. I'm assuming clang will also implement these for compatability with libstdc++. Reviewed By: ldionne, #libc Spies: h-vetinari, libcxx-commits, arichardson Differential Revision: https://reviews.llvm.org/D122276
-
Nikolas Klauser authored
Reviewed By: ldionne, #libc Spies: libcxx-commits Differential Revision: https://reviews.llvm.org/D128007
-
Fangrui Song authored
-
Florian Mayer authored
The reachability queries default to "reachable" after exploring too many basic blocks. LoopInfo helps it skip over the whole loop. Reviewed By: eugenis Differential Revision: https://reviews.llvm.org/D127917
-
Chelsea Cassanova authored
This adds a command interpreter fuzzer to LLDB's fuzzing library. The input data from the fuzzer is used as input for the command interpreter. Input data for the fuzzer is guided by a dictionary of keywords used in LLDB, such as "breakpoint", "target" and others. Differential revision: https://reviews.llvm.org/D128292
-