- Jul 22, 2021
-
-
LLVM GN Syncbot authored
-
Stanislav Mekhanoshin authored
Differential Revision: https://reviews.llvm.org/D106110
-
Omar Emara authored
This patch adds a required property to text fields and their derivatives. Additionally, the Process Name and PID fields in the attach form were marked as required. Differential Revision: https://reviews.llvm.org/D106458
-
Omar Emara authored
This patch adds a new Process Plugin Field. It is a choices field that lists all the available process plugins and can retrieve the name of the selected plugin or an empty string if the default is selected. The Attach form now uses that field instead of manually creating a choices field. Reviewed By: clayborg Differential Revision: https://reviews.llvm.org/D106467
-
Christopher Di Bella authored
* Implements part of P0896 'The One Ranges Proposal' * Implements http://wg21.link/range.dangling Reviewed By: zoecarver Differential Revision: https://reviews.llvm.org/D105205
-
Christopher Di Bella authored
This reverts commit 499571ea.
-
Christopher Di Bella authored
Taking the address of a reference parameter might be valid, and without CFA, false positives are going to be more trouble than they're worth. Differential Revision: https://reviews.llvm.org/D102728
-
Stanislav Mekhanoshin authored
Differential Revision: https://reviews.llvm.org/D106023
-
Bill Wendling authored
We need to check for recursive initializers in the "ConstantStruct" case. Differential Revision: https://reviews.llvm.org/D105616
-
David Green authored
In these methods DCI is never used, only the DAG from it. Pass the DAG directly, cleaning up the code a little.
-
Walter Erquinigo authored
https://reviews.llvm.org/D105649 broke intel pt builds. Fortunately the fix is super easy.
-
Stanislav Mekhanoshin authored
Differential Revision: https://reviews.llvm.org/D105919
-
Fangrui Song authored
This removes an abuse of ELF linker behaviors while keeping Mach-O/COFF linker behaviors unchanged. ELF: when module_ctor is in a comdat, this patch removes reliance on a linker abuse (an SHT_INIT_ARRAY in a section group retains the whole group) by using SHF_GNU_RETAIN. No linker behavior difference when module_ctor is not in a comdat. Mach-O: module_ctor gets `N_NO_DEAD_STRIP`. No linker behavior difference because module_ctor is already referenced by a `S_MOD_INIT_FUNC_POINTERS` section (GC root). PE/COFF: no-op. SanitizerCoverage already appends module_ctor to `llvm.used`. Other sanitizers: llvm.used for local linkage is not implemented in `TargetLoweringObjectFileCOFF::emitLinkerDirectives` (once implemented or switched to a non-local linkage, COFF can use module_ctor in comdat (i.e. generalize ELF-specific rL301586)). There is no object file size difference. Reviewed By: vitalybuka Differential Revision: https://reviews.llvm.org/D106246
-
Peter Steinfeld authored
This change fixes a bug in the runtime portion of the CSHIFT intrinsic that happens when the value of the SHIFT argument is negative. Differential Revision: https://reviews.llvm.org/D106292
-
Alex Langford authored
These two classes, TraceSessionFileParser and ThreadPostMortemTrace, seem to be useful primarily for tracing. Currently it looks like intel-pt is the sole user of these, but that other tracing plugins could be written in the future that take advantage of these. Unfortunately with them in Target, there is a dependency on PluginProcessUtility. I'd like to sever that dependency, so I moved them into a `TraceCommon` plugin. Differential Revision: https://reviews.llvm.org/D105649
-
Nikita Popov authored
We need to make sure that the value types are the same. Otherwise we both may not have the necessary dereferenceability implication, nor can we directly form the desired select pattern. Without opaque pointers this is enforced implicitly through the pointer comparison.
-
Nikita Popov authored
-
Stanislav Mekhanoshin authored
This is SCC pass, moving it to the end of SCC PM saves one Function PM. This needs the analysis to take into account memory access width since it is now places after the load/store optimizer (D105651). Differential Revision: https://reviews.llvm.org/D105652
-
Jessica Paquette authored
These had ``` .clampScalar(0, s1, 64) .widenScalarToNextPow2(0, 8) ``` If you have s2 or s4, then `widenScalarToNextPow2` does nothing. This changes the `widenScalarToNextPow2` rule to use s8 as the minimum type instead, allowing us to correctly widen s2 and s4. This does not impact s1, since it's marked as legal already. Differential Revision: https://reviews.llvm.org/D106413
-
Douglas Yung authored
-
John McCall authored
fixed fields with highly-aligned flexible fields. The code was not considering the possibility that aligning the current offset to the alignment of a queue might push us past the end of the gap. Subtracting the offsets to figure out the maximum field size for the gap then overflowed, making us think that we had nearly unbounded space to fill. Fixes PR 51131.
-
Alex Lorenz authored
This fixes a build issue with an older libc++ on some bots: clang-cmake-x86_64-avx2-linux and clang-ppc64be-linux
-
Stanislav Mekhanoshin authored
A function with less memory instructions but wider access is the same as a function with more but narrower accesses in terms of memory boundness. In fact the pass would give different answers before and after vectorization without this change. Differential Revision: https://reviews.llvm.org/D105651
-
Craig Topper authored
vmv.x.s and reductions don't ignore tail policy anymore.
-
Sanjay Patel authored
https://llvm.org/PR50888
-
Yaxun (Sam) Liu authored
Remove the workaround for -fopenmp in __clang_hip_runtime_wrapper.h since it causes device functions in HIP wrapper headers disabled when compiling HIP program with -fopenmp. Reviewed by: Aaron Enye Shi, Jon Chesterfield Differential Revision: https://reviews.llvm.org/D106070
-
Gulfem Savrun Yeniceri authored
Revert "[profile] Change linkage type of a compiler-rt func" This reverts commits f984ac27 and 467c7191 because it broke some builds.
-
Jon Roelofs authored
-
Alex Lorenz authored
This commit adds supports for clang to remap macOS availability attributes that have introduced, deprecated or obsoleted versions to appropriate Mac Catalyst availability attributes. This mapping is done using the version mapping provided in the macOS SDK, in the SDKSettings.json file. The mappings in the SDKSettings json file will also be used in the clang driver for the driver Mac Catalyst patch, and they could also be used in the future for other platforms as well. Differential Revision: https://reviews.llvm.org/D105257
-
Eli Friedman authored
Generating these tests unfortunately means a lot of junk, but it's hard to write/update these tests by hand. Added tests focus on atomic orderings for cmpxchg. Actually writing out these tests showed some potentially dubious results; we should probably consider using casp for 128-bit atomic load/store/rmw.
-
Giorgis Georgakoudis authored
Manifesting AbstractAttributes may add new BBs in the IR. This patch provides an interface to register those BBs in the Attributor so that those BBs and containing instructions are not deleted as dead. Reviewed By: jdoerfert Differential Revision: https://reviews.llvm.org/D106383
-
Gulfem Savrun Yeniceri authored
This patch changes the linkage type of a compiler-rt func (__llvm_write_binary_ids) to fix the sanitizer-windows bot build issue introduced in change f984ac27. The issue is as the following: C:\b\slave\sanitizer-windows\llvm-project\compiler-rt\lib\profile\InstrProfilingInternal.h(201): error C2496: '__llvm_write_binary_ids': 'selectany' can only be applied to data items with external linkage
-
Eli Friedman authored
The existing rule about the operand type is strange. Instead, just say the operand is a TargetConstant with the right width. (Legalization ignores TargetConstants, so it doesn't matter if that width is legal.) Highlights: 1. I had to substantially rewrite the AArch64 isel patterns to expect a TargetConstant. Nothing too exotic, but maybe a little hairy. Maybe worth considering a target-specific node with some dagcombines instead of this complicated nest of isel patterns. 2. Our behavior on RV32 for vectors of i64 has changed slightly. In particular, we correctly preserve the width of the arithmetic through legalization. This changes the DAG a bit. Maybe room for improvement here. 3. I explicitly defined the behavior around overflow. This is necessary to make the DAGCombine transforms legal, and I don't think it causes any practical issues. Differential Revision: https://reviews.llvm.org/D105673
-
Gulfem Savrun Yeniceri authored
This patch adds binary id into profiles to easily associate binaries with the corresponding profiles. There is an RFC that discusses the motivation, design and implementation in more detail: https://lists.llvm.org/pipermail/llvm-dev/2021-June/151154.html Differential Revision: https://reviews.llvm.org/D102039
-
Nancy Wang authored
This patch is to add the missing comments in https://reviews.llvm.org/D106153 and https://reviews.llvm.org/D106151 to address comments. Differential Revision: https://reviews.llvm.org/D106404
-
Jacques Pienaar authored
Range type that allows for wrapping different value & shape ranges with correspondence to Shape's ValueShape type - initially aliased to ValueRange (which corresponds to the trivial mapping from a ShapedType's Value's shape to shape). Just plain alias, before expanding. Differential Revision: https://reviews.llvm.org/D99133
-
Giorgis Georgakoudis authored
There is no need for a non-const argument interface and the const argument modification covers existing and upcoming use cases. Reviewed By: jdoerfert Differential Revision: https://reviews.llvm.org/D106418
-
Giorgis Georgakoudis authored
The patch exposes the libomptarget runtime function that gets the hardware thread id through the kmpc API. This is to be used in SPMDization for checking the thread id to execute regions by a single thread in a block. Reviewed By: jdoerfert Differential Revision: https://reviews.llvm.org/D106323
-
Walter Erquinigo authored
When the user types that command 'thread trace dump info' and there's a running Trace session in LLDB, a raw trace in bytes should be printed; the command 'thread trace dump info all' should print the info for all the threads. Original Author: hanbingwang Reviewed By: clayborg, wallace Differential Revision: https://reviews.llvm.org/D105717
-
Jon Chesterfield authored
This reverts commit 968899ad.
-