- Apr 22, 2021
-
-
Peter Collingbourne authored
DC GZVA can operate on multiple granules at a time (corresponding to the CPU's cache line size) so we can generally expect it to be faster than STZG in a loop. Differential Revision: https://reviews.llvm.org/D100910
-
Walter Erquinigo authored
This diff ass postRunCommands, which are the counterpart of the preRunCommands. TThey will be executed right after the target is launched or attached correctly, which means that the targets can assume that the target is running. Differential Revision: https://reviews.llvm.org/D100340
-
Arthur Eubanks authored
Trying to evaluate a GEP would assert with "Ty == cast<PointerType>(C->getType()->getScalarType())->getElementType()" because the type of the pointer we would evaluate the GEP argument to would be a different type than the GEP was expecting. We should treat pointer stripping as a bitcast. The test adds a redundant GEP that would crash due to type mismatch. Reviewed By: rnk Differential Revision: https://reviews.llvm.org/D100970
-
Jonas Devlieghere authored
Use the clang compiler from the SDK to build the simulator test programs to ensure we pick up the correct libc++.
-
Mehdi Chinoune authored
MSVC doesn't accept division by zero. Reviewed By: Meinersbur Differential Revision: https://reviews.llvm.org/D96069
-
Alexey Bataev authored
-
Arthur Eubanks authored
Helps with debugging invalid handcrafted IR. Reviewed By: rnk Differential Revision: https://reviews.llvm.org/D100990
-
Dávid Bolvanský authored
-
Jez Ng authored
As discussed here: https://reviews.llvm.org/D100523#inline-951543 Reviewed By: #lld-macho, thakis, alexshap Differential Revision: https://reviews.llvm.org/D100978
-
Nikita Popov authored
This reverts commit 9423f782. A performance regression with this patch has been reported at https://reviews.llvm.org/rG9423f78240a2#990953. Reverting for now.
-
Roland McGrath authored
An empty macro that expands to just `... else ;` can get warnings from some compilers (e.g. GCC's -Wempty-body). Reviewed By: cryptoad, vitalybuka Differential Revision: https://reviews.llvm.org/D100693
-
Jordan Rupprecht authored
`RichManglingContext::FromCxxMethodName` allocates a m_cxx_method_parser, but never deletes it. This fixes a `-DLLVM_USE_SANITIZER=Leaks` failure. Reviewed By: teemperor Differential Revision: https://reviews.llvm.org/D100795
-
sstefan1 authored
Discovered during attributor testing comparing stats with and without the attributor. Willreturn should not be inferred for nonexact definitions. Differential Revision: https://reviews.llvm.org/D100988
-
Emily Shi authored
If these sizes do not match, asan will not work as expected. Previously, we added compile-time checks for non-iOS platforms. We check at run time for iOS because we get the max VM size from the kernel at run time. rdar://76477969 Reviewed By: delcypher Differential Revision: https://reviews.llvm.org/D100784
-
sstefan1 authored
Fix for PR49984 This was discovered during Attributor testing. Memset was always created with alignment of 1 and in case when strncpy alignment was changed it triggered an assertion in the AttrBuilder. Memset will now be created with appropriate alignment. Differential Revision: https://reviews.llvm.org/D100875
-
Ahmed Taei authored
This will prevent fusion that spains all dims and generates (d0, d1, ...) -> () reshape that isn't legal Differential Revision: https://reviews.llvm.org/D100805
-
-
Sanjay Patel authored
-
Nico Weber authored
-
Mark de Wever authored
Removes the "reviews." part of the links as suggested by @ldionne in D100707.
-
Krzysztof Parzyszek authored
There were some recent header changes, and now some std classes are no longer available in ScopDetection.cpp with the pre-existing includes.
-
Simon Pilgrim authored
PR50049 demonstrated an infinite loop between OR(SHUFFLE,SHUFFLE) <-> BLEND(SHUFFLE,SHUFFLE) patterns. The UNDEF elements were allowing a combined shuffle mask to be widened which lost the undef element, resulting us needing to use the BLEND pattern (as the undef element would need to be zero for the OR pattern). But then bitcast folds would re-expose the undef element allowing us to use OR again.....
-
Michał Górny authored
Add initial tests for reading register sets from core dumps. This includes a C++ program to write registers and dump core, resulting core dumps for Linux, FreeBSD and NetBSD, and the tests to verify them. The tests are split into generic part, verifying user-specified register values, and coredump-specific tests that verify memory addresses that differ for every dump. At this moment, all platforms support GPRs and FPRs up to XMM for amd64 target. The i386 target does not work on NetBSD at all, and is missing FPRs entirely on FreeBSD. Differential Revision: https://reviews.llvm.org/D91963
-
Jez Ng authored
This load command records a range spanning from the end of the load commands to the end of the `__TEXT` segment. Presumably the kernel will encrypt all this data. Reviewed By: #lld-macho, thakis Differential Revision: https://reviews.llvm.org/D100973
-
Alexey Bataev authored
The implicitly generated mappings for allocation/deallocation in mappers runtime should be mapped as implicit, also no need to clear member_of flag to avoid ref counter increment. Also, the ref counter should not be incremented for the very first element that comes from the mapper function. Differential Revision: https://reviews.llvm.org/D100673
-
Fangrui Song authored
Differential Revision: https://reviews.llvm.org/D100907
-
Christopher Di Bella authored
Implements parts of: * P0896R4 The One Ranges Proposal` Depends on D99873. Reviewed By: ldionne, #libc Differential Revision: https://reviews.llvm.org/D100073 -
Michael Kruse authored
external.c defines stub functions that are never used because of how Polly uses PPCG. Unfortunately, they are declared as functions without return values or parameters which does not match their declarations. Since they are never called, this was usually not a problem, but an LTO build gets confused with differently declared functions, or in case of pet_options_args, a global variable declaration that is defined as a function Resolve by including the declaring headers in external.c which forces the declaration and definition to match at compile-time. This fixes llvm.org/50021
-
Arthur O'Dwyer authored
This was raised in D94511. Differential Revision: https://reviews.llvm.org/D100736
-
Arthur O'Dwyer authored
Simplify the test code, and drive-by also test that these algorithms return the right iterator as their return value. Differential Revision: https://reviews.llvm.org/D100876
-
Hongtao Yu authored
-
- Apr 21, 2021
-
-
Nico Weber authored
Didn't notice it missing due to https://reviews.llvm.org/D89707#2705110
-
LLVM GN Syncbot authored
-
Alexander Shaposhnikov authored
Refactor findCommand to allow passing multiple types. NFC. Test plan: make check-lld-macho Differential revision: https://reviews.llvm.org/D100954
-
Pavel Labath authored
The test had a race that could cause two threads to end up with the same "thread local" value. I believe this would not cause the test to fail, but it could cause it to succeed even when the functionality is broken. The new implementation removes this uncertainty, and removes a lot of cruft left over from the time this test was written using pthreads.
-
Stanislav Mekhanoshin authored
Let it work on a very small kernels only. Measurements showed the performance benefit is not worth the compile time. Differential Revision: https://reviews.llvm.org/D100904
-
Louis Dionne authored
Original patch by @cjdb, modified by @ldionne. Differential Revision: https://reviews.llvm.org/D99873
-
Nico Weber authored
-
Nico Weber authored
-
Pavel Labath authored
Avoid c string manipulation by introducing a StringRef-like consume_front operation.
-