- Sep 25, 2020
-
-
Andrew Litteken authored
As informed by danielkiss. Follow up to Differential Revision: https://reviews.llvm.org/D86972
-
Ye Luo authored
It allows customizing MAX_SM for non-flagship GPU and reduces graphic memory usage. In addition, so far the size is hard-coded up to __CUDA_ARCH__ 700 and is already a hassle for 800. Introduce MAX_SM for 800 and protect future arch Reviewed By: JonChesterfield Differential Revision: https://reviews.llvm.org/D88185
-
- Sep 24, 2020
-
-
Dave Lee authored
Add missing declaration for `malloc_get_all_zones` in heap.py. Differential Revision: https://reviews.llvm.org/D88158
-
Saleem Abdulrasool authored
Add the `swift_newtype` attribute which allows a type definition to be imported into Swift as a new type. The imported type must be either an enumerated type (enum) or an object type (struct). This is based on the work of the original changes in https://github.com/llvm/llvm-project-staging/commit/8afaf3aad2af43cfedca7a24cd817848c4e95c0c Differential Revision: https://reviews.llvm.org/D87652 Reviewed By: Aaron Ballman
-
Nathan Froyd authored
Using a pointer for the description string in StaticDiagInfoRec causes several problems: 1. We don't need to use a whole pointer to represent the string; 2. The use of pointers incurs runtime relocations for those pointers; the relocations take up space on disk and represent runtime overhead; 3. The need to relocate data implies that, on some platforms, the entire array containing StaticDiagInfoRecs cannot be shared between processes. This patch changes the storage scheme for the diagnostic descriptions to avoid these problems. We instead generate (effectively) one large string and then StaticDiagInfoRec conceptually holds offsets into the string. We elected to also move the storage of those offsets into a separate array to further reduce the space required. On x86-64 Linux, this change removes about 120KB of relocations and moves about 60KB from the non-shareable .data.rel.ro section to shareable .rodata. (The array is about 80KB before this, but we eliminated 4 bytes/entry by using offsets rather than pointers.) We actually reap this benefit twice, because these tables show up in both libclang.so and libclang-cpp.so and we get the reduction in both places. Differential Revision: https://reviews.llvm.org/D81865
-
Simon Pilgrim authored
Shuffle combining can now handle this output, and by performing this early in combineVectorTruncation we avoid a scalarization that caused a regression on D87502.
-
Peyton, Jonathan L authored
The current GOMP interface for serialized tasks does not take into account task dependencies. Add the check and wait for dependencies. Fixes: https://bugs.llvm.org/show_bug.cgi?id=46573 Differential Revision: https://reviews.llvm.org/D87271
-
Peyton, Jonathan L authored
This change introduces the GOMP_taskwait_depend() function. It implements the OpenMP 5.0 feature of #pragma omp taskwait with depend() clause by wrapping around __kmpc_omp_wait_deps(). Differential Revision: https://reviews.llvm.org/D87269
-
Peyton, Jonathan L authored
Encapsulate GOMP task dependencies in separate class and introduce the new mutexinoutset dependency type. This separate class allows future GOMP task APIs easier access to the task dependency functionality and better ability to propagate new dependency types to all existing GOMP task APIs which use task dependencies. Differential Revision: https://reviews.llvm.org/D87267
-
Peyton, Jonathan L authored
Implement GOMP_teams_reg() function which enables GOMP support of the standalone teams construct. The GOMP_parallel* functions were modified to call __kmp_fork_call() unconditionally so that the teams-specific code could be reused within __kmp_fork_call() instead of reproduced inside the GOMP_* functions. Differential Revision: https://reviews.llvm.org/D87167
-
Sam Parker authored
Remove a loop that just calculated a couple of values that were now longer needed.
-
vpykhtin authored
This patch removes redundant IMPLICIT_DEF for subregs which was leading to incorrect register initialization on joining in some cases. Reviewed by: qcolombet Differential revision: https://reviews.llvm.org/D82258
-
Jay Foad authored
-
Sebastian Neubauer authored
v3f32 should not be expanded to v4f32. getresinfo with a dmask of 7 created an image sample with a v3f32 return value, which was bitcasted to a v4f32 in constructRetValue. Differential Revision: https://reviews.llvm.org/D88206
-
Matt Arsenault authored
The langref already states it does, but this wasn't implemented. Also covers inalloca and preallocated. Also helps fix a dependence on pointer element types.
-
Matt Arsenault authored
Sret should really have a type parameter like byval does.
-
George Mitenkov authored
Fixed an error when deserializing the SPIR-V binary to MLIR SPIR-V. Before, the SPIR-V dialect was not loaded explicitly into the context, which resulted in unregistered operation error. Reviewed By: antiagainst Differential Revision: https://reviews.llvm.org/D88223
-
Sanjay Patel authored
I'm not sure if the target is actually necessary, but since it was specified, I'm moving to the appropriate dir to avoid bot fallout.
-
Sanjay Patel authored
This file comes from 2007, and I'm not entirely sure of the motivation, but it was going through all of opt and llc. The llc part is almost certainly unnecessary as shown in the now auto-generated FileCheck lines. This test may be affected by a logic change suggested in: D87835
-
Sanjay Patel authored
-
Nico Weber authored
-
Alexey Baturo authored
Remove some hard-coded values from i-cache clear routine Differential Revision: https://reviews.llvm.org/D87578
-
Haruki Imai authored
Added a trait, `MemRefsNormalizable` in LoadOp and StoreOp of Standard Ops to normalize input memrefs in LoadOp and StoreOp. Related revision: https://reviews.llvm.org/D86236 Differential Revision: https://reviews.llvm.org/D88156
-
Alexandre Ganea authored
Fix f5314d15 - [Support] On Unix, let the CrashRecoveryContext return the signal code This was causing bots to fail: http://green.lab.llvm.org/green/job/clang-stage1-RA/14828/consoleFull#6384962949ba4694-19c4-4d7e-bec5-911270d8a58c
-
Alexandre Ganea authored
Improve 723fea23 - Silence 'warning: unused variable' when compiling with Clang 10.0
-
Yaxun (Sam) Liu authored
This recommits 7f1f89ec and 40df06cd after fixing memory sanitizer failure.
-
Simon Pilgrim authored
-
Sjoerd Meijer authored
This might be useful for testing. We already have an option -tail-predication but that controls the MVETailPredication pass. This -arm-loloops-disable-tail-pred is just for disabling it in the LowoverheadLoops pass. Differential Revision: https://reviews.llvm.org/D88212
-
Sam Parker authored
If the LSTP instruction is inserted with an element count low enough to immediately predicate some lanes as false, this can have some unintended effects on any proceeding MVE instructions in the preheader. Differential Revision: https://reviews.llvm.org/D88209
-
Alexandre Ganea authored
Before this patch, the CrashRecoveryContext was returning -2 upon a signal, like ExecuteAndWait does. This didn't match the behavior on Windows, where the the exception code was returned. We now return the signal's code, which optionally allows for re-throwing the signal later. Doing so requires all custom handlers to be removed first, through llvm::sys::unregisterHandlers() which we made a public API. This is part of https://reviews.llvm.org/D70378
-
Zachary Turner authored
Historically, we have told contributors that GnuWin32 is a pre-requisite because our tests depend on utilities such as sed, grep, diff, and more. However, Git on Windows includes versions of these utilities in its installation. Furthermore, GnuWin32 has not been updated in many years. For these reasons, it makes sense to have the ability to run llvm tests in a way that is both: a) Easier on the user (less stuff to install) b) More up-to-date (The verions that ship with git are at least as new, if not newer, than the versions in GnuWin32. We add support for this here by attempting to detect where Git is installed using the Windows registry, confirming the existence of several common Unix tools, and then adding this location to lit's PATH environment. Differential Revision: https://reviews.llvm.org/D84380 -
Alexandre Ganea authored
[Support] On Windows, ensure abort() can be catched several times in a row with CrashRecoveryContext Before this patch, the CrashRecoveryContext would only catch the first abort(). Any further calls to abort() inside subsquent CrashRecoveryContexts would not be catched. This is because the Windows CRT removes the abort() handler before calling it. This is part of https://reviews.llvm.org/D70378
-
Alexey Lapshin authored
-
Praveen G authored
1. Section 2.5 : Parallel Construct 2. Section 2.7.1 : Loop Construct 3. Section 2.7.2 : Sections Construct 4. Section 2.7.3 : Single Construct 5. Section 2.7.4 : Workshare Construct 6. Section 2.8.1 : Simd Construct 7. Section 2.8.3 : Loop Simd Construct 8. Section 2.9.1 : Task Construct 9. Section 2.9.2 : Taskloop Construct 10. Section 2.9.3 : Taskloop Simd Construct Most of the test cases added as part of this change contains semantic errors except few cases which are semantically correct but thrown a semantic error. Currently flang is not throwing the errors for these cases and throwing semantic errors for the following correct test cases {omp-do03.f90 , omp-loop-simd01.f90 , omp-simd02.f90 , omp-taskloop01.f90} Hence, all the test cases are marked as XFAIL. Reviewed By: DavidTruby Differential Revision: https://reviews.llvm.org/D87908 -
Andrzej Warzynski authored
Differential Revision: https://reviews.llvm.org/D88219
-
Sanjay Patel authored
More coverage for the bug fix proposed in D87835.
-
Alexey Lapshin authored
Remove usages of special error reporting functions(error(), reportError()). This patch is extracted from D87987. Errors are reported as Expected<>/Error returning values. This part is for MachO subfolder of llvm-objcopy. Testing: check-all. Reviewed By: jhenderson, alexshap Differential Revision: https://reviews.llvm.org/D88113
-
Jonas Toth authored
-
James Henderson authored
This patch expands two LTO test cases to check other aspects. 1) weak.ll has been expanded to show that it doesn't matter whether the first appearance of a weak symbol appears in a bitcode file or native object - that one is picked. 2) reproduce-lto.ll has been expanded to show that the bitcode files are stored in the reproduce package and that intermediate files (such as the LTO-compiled object) are not. Differential Revision: https://reviews.llvm.org/D88094 Reviewed by: grimar, MaskRay
-
Serge Pavlov authored
Without this change GCC 5.4.0 failed to compile JSON.cpp with the error: .../llvm-project/llvm/lib/Support/JSON.cpp: In lambda function: .../llvm-project/llvm/lib/Support/JSON.cpp:291:29: error: use of 'V' before deduction of 'auto' for (const auto &V : *V.getAsArray())
-