- Nov 11, 2020
-
-
Chen Zheng authored
Reviewed By: craig.topper Differential Revision: https://reviews.llvm.org/D91163
-
Stephan Herhut authored
This adds getters for `llvm.align` and `llvm.noalias` strings that are used as attribute names in the llvm dialect. Differential Revision: https://reviews.llvm.org/D91166
-
Christian Sigg authored
I would like to use this for D90589 to switch std.alloc to assemblyFormat. Hopefully it will be useful in other places as well. Reviewed By: rriddle Differential Revision: https://reviews.llvm.org/D91068
-
Raphael Isemann authored
Those two decorators have identical behaviour. This removes `not_remote_testsuite_ready` as `skipIfRemote` seems more consistent with the other decorator names we have Reviewed By: JDevlieghere Differential Revision: https://reviews.llvm.org/D89376
-
Wang, Pengfei authored
-
Kirill Bobyrev authored
-
Wang, Pengfei authored
-
Wang, Pengfei authored
-
Amara Emerson authored
These do things like turn a multiply of a pow-2+1 into a shift and and add, which is a common pattern that pops up, and is universally better than expensive madd instructions with a constant. I've added check lines to an existing codegen test since the code being ported is almost identical, however the mul by negative pow2 constant tests don't generate the same code because we're missing some generic G_MUL combines still. Differential Revision: https://reviews.llvm.org/D91125
-
Wang, Pengfei authored
-
Wang, Pengfei authored
-
Wang, Pengfei authored
-
Faisal Vali authored
Since these are scoped enumerators, they have to be prefixed by DeclaratorContext, so lets remove Context from the name, and return some characters to the multiverse. Patch was reviewed here: https://reviews.llvm.org/D91011 Thank you to aaron, bruno, wyatt and barry for indulging me.
-
Xun Li authored
SafeStack instrumentation should not insert anything inbetween musttail call and return instruction. For every ReturnInst that needs to be instrumented, we adjust the insertion point to the musttail call if exists. Differential Revision: https://reviews.llvm.org/D90702
-
Max Kazantsev authored
Lift limitation on step being `+/- 1`. In fact, the only thing it is needed for is proving no-self-wrap. We can instead check this flag directly. Theoretically it can increase the scope of the transform, but I could not construct such test easily. Differential Revision: https://reviews.llvm.org/D91126 Reviewed By: apilipenko
-
Wang, Pengfei authored
-
Wang, Pengfei authored
-
Wang, Pengfei authored
-
Wang, Pengfei authored
-
Roland McGrath authored
This header has long lacked a standard multiple inclusion guard like other headers have, for no apparent reason. The GCC header of the same name likewise lacks one up through release 10.1, but trunk GCC (release 11, and perhaps future 10.x) has fixed it (see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96238). Reviewed By: phosek Differential Revision: https://reviews.llvm.org/D91226
-
Kazu Hirata authored
This reverts commit 2f1038c7.
-
Wang, Pengfei authored
-
Gaurav Jain authored
Differential Revision: https://reviews.llvm.org/D90902
-
Akira Hatanaka authored
rdar://problem/70410504
-
Chen Zheng authored
-
zoecarver authored
This patch changes how linear_congruential_engine picks its randomization algorithm. It adds two restrictions, `_OverflowOK` and `_SchrageOK`. `_OverflowOK` means that m is a power of two so using the classic `(a * x + c) % m` will create a meaningless overflow. The second checks that Schrage's algorithm will produce results that are in bounds of min and max. This patch fixes https://llvm.org/PR27839. Differential Revision: D65041
-
Chen Zheng authored
delete abs/nabs handling in earlycse pass to avoid bugs related to hashing values. After abs/nabs is canonicalized to intrinsics in D87188, we should get CSE ability for abs/nabs back. Reviewed By: spatel Differential Revision: https://reviews.llvm.org/D90734
-
Sam Clegg authored
Previously we limited the use of atomics and TLS to programs linked with `--shared-memory`. However, as of https://reviews.llvm.org/D79530 we now allow programs that use atomic to be linked without `--shared-memory`. For this to be useful we also want to all TLS usage in such programs. In this case, since we know we are single threaded we simply include the TLS data as a regular active segment and create an immutable `__tls_base` global that point to the start of this segment. Fixes: https://github.com/emscripten-core/emscripten/issues/12489 Differential Revision: https://reviews.llvm.org/D91115
-
Evgenii Stepanov authored
HwasanThreadList::DontNeedThread clobbers Thread::next_, breaking the freelist. As a result, only the top of the freelist ever gets reused, and the rest of it is lost. Since the Thread object its associated ring buffer is only 8Kb, this is typically only noticable in long running processes, such as fuzzers. Fix the problem by switching from an intrusive linked list to a vector. Differential Revision: https://reviews.llvm.org/D91208
-
Wang, Pengfei authored
-
Vedant Kumar authored
-
Vedant Kumar authored
Adds test coverage for ThreadPlanStepInRange::SetAvoidRegexp. See: http://lab.llvm.org:8080/coverage/coverage-reports/coverage/Users/buildslave/jenkins/workspace/coverage/llvm-project/lldb/source/Target/ThreadPlanStepInRange.cpp.html#L309 Differential Revision: https://reviews.llvm.org/D91220
-
peter klausler authored
Avoid a spurious error message about a dummy procedure reference in a specification expression by restructuring the handling of use-associated and host-associated symbols. Differential revision: https://reviews.llvm.org/D91209
-
Vedant Kumar authored
-
Vedant Kumar authored
-
Vedant Kumar authored
Split up words that appear to have been accidentally concatenated. This looks to be exhaustive: to find these in vim, use: /\v[^ ]"\n +"[^ ]
-
Peter Collingbourne authored
It turns out that we can't remove the operator new and delete interceptors on Android without breaking ABI, so bring them back as forwards to the malloc and free functions. Differential Revision: https://reviews.llvm.org/D91219
-
Lang Hames authored
-
Richard Smith authored
specialization. Fixes a crash-on-valid if further template parameters are introduced within the specialization (by a generic lambda).
-
Peter Collingbourne authored
__register_frame and __deregister_frame are associated with the .eh_frame section, which I think is used on all of our platforms except Windows and 32-bit ARM (which uses the ARM EHABI). Also add a file that was added to lld/MachO.
-