- Mar 08, 2022
-
-
Lorenzo Chelini authored
Reviewed By: arjunp Differential Revision: https://reviews.llvm.org/D121205
-
Simon Pilgrim authored
-
Adrian Kuegel authored
-
Florian Hahn authored
-
Krystian Kuzniarek authored
Differential Revision: https://reviews.llvm.org/D120221
-
Matthias Springer authored
Differential Revision: https://reviews.llvm.org/D121203
-
Luo, Yuanke authored
As noticed in D119654, by adding the masked intrinsics results together we can end up with the selects being canonicalized away from the intrinsic - this isn't what we want to test here so replace with a insertvalue chain into a aggregate instead to retain all the results. Differential Revision: https://reviews.llvm.org/D121196
-
Dmitry Vyukov authored
FdClose is a subjet to the same atomicity problem as MemoryRangeFreed (memory state is not "monotoic" wrt race detection). So we need to lock the thread slot in FdClose the same way we do in MemoryRangeFreed. This fixes the modified stress.cpp test. Reviewed By: vitalybuka, melver Differential Revision: https://reviews.llvm.org/D121143
-
Muhammad Omair Javaid authored
This patch disables TestIOHandlerProcessSTDIO.py for Arm/AArch64 Linux to silence random test failures on buildbots. IO handler tests are known to randomly fail on arm/aarch64 linux buildbots due to pexpect timeouts.
-
Javier Setoain authored
Currently, the transfer mask is materialized by generating the vector comparison: [offset + 0, .., offset + length - 1] < [dim, .., dim] A better alternative is to materialize the transfer mask by using the operation: `vector.create_mask (dim - offset)`, which will generate simpler code and compose better with scalable vectors. Differential Revision: https://reviews.llvm.org/D120487
-
Argyrios Kyrtzidis authored
Otherwise we will fail to generate the definition of a defaulted destructor, if the only reference was in a templated temporary. rdar://89366678 Differential Revision: https://reviews.llvm.org/D120426
-
Groverkss authored
This change is done to match the interface of PresburgerSpace, which has PresburgerSpace::isEqual as public.
-
Luo, Yuanke authored
As noticed in D119654, by adding the masked intrinsics results together we can end up with the selects being canonicalized away from the intrinsic - this isn't what we want to test here so replace with a insertvalue chain into a aggregate instead to retain all the results. Differential Revision: https://reviews.llvm.org/D121188
-
River Riddle authored
-
River Riddle authored
-
Adrian Kuegel authored
Differential Revision: https://reviews.llvm.org/D121185
-
Petr Hosek authored
This reverts commit ed28461e since it broke the VE bot.
-
Arthur Eubanks authored
Introduce a new attribute "function-inline-cost-multiplier" which multiplies the inline cost of a call site (or all calls to a callee) by the multiplier. When processing the list of calls created by inlining, check each call to see if the new call's callee is in the same SCC as the original callee. If so, set the "function-inline-cost-multiplier" attribute of the new call site to double the original call site's attribute value. This does not happen when the original call site is intra-SCC. This is an alternative to D120584, which marks the call sites as noinline. Hopefully fixes PR45253. Reviewed By: davidxl Differential Revision: https://reviews.llvm.org/D121084
-
Lorenzo Chelini authored
-
Stanislav Mekhanoshin authored
A load via pointer cast to constant will return true from pointsToConstantMemory which is not necessarily so. Fixes: SWDEV-326463 Differential Revision: https://reviews.llvm.org/D121172
-
Petr Hosek authored
This is useful when building a complete toolchain to ensure that CRT is built after builtins but before the rest of the compiler-rt. Differential Revision: https://reviews.llvm.org/D120682
-
Zi Xuan Wu authored
Add support of parsing .csky_attribute directive and emit related target attributes in .csky.attribute section. It does not emit attribute directive in assembly code, so only emit target attributes in ELF streamer. In ELF streamer, it handles the header EFlag and the csky_attribute section which contains some attribute items. The EFlag and attribute items are calculated from feature bits based on Subtarget.
-
Yuanfang Chen authored
This relands commit 73134743. It failed on Windows/Mac because `-fjmc` is only checked for ELF targets. Check the flag unconditionally instead and issue a warning for non-ELF targets.
-
Valentin Clement authored
Fix for buildbot failure: https://lab.llvm.org/buildbot/#/builders/180/builds/3532
-
Johannes Doerfert authored
If the user disables de-globalization we did not seed the AAHeapToShared and AAHeapToStack but we still could end up with them through in-flight lookups. With this patch we disable AAHeapToShared completely if the user disabled de-globalization. Heap-2-stack is still run though. Differential Revision: https://reviews.llvm.org/D121059
-
Johannes Doerfert authored
An event pool, similar to the stream pool, needs to be kept per device. For one, events are associated with cuda contexts which means we cannot destroy the former after the latter. Also, CUDA documentation states streams and events need to be associated with the same context, which we did not ensure at all. Differential Revision: https://reviews.llvm.org/D120142
-
Johannes Doerfert authored
There are two problems this patch tries to address: 1) We currently free resources in a random order wrt. plugin and libomptarget destruction. This patch should ensure the CUDA plugin is less fragile if something during the deinitialization goes wrong. 2) We need to support (hard) pause runtime calls eventually. This patch allows us to free all associated resources, though we cannot reinitialize the device yet. Follow up patch will associate one event pool per device/context. Differential Revision: https://reviews.llvm.org/D120089
-
Johannes Doerfert authored
Differential Revision: https://reviews.llvm.org/D121060
-
Uday Bondhugula authored
Rewrite isInnermostAffineForOp utility to make it more direct/efficient. Drop unnecessary check. NFC. Differential Revision: https://reviews.llvm.org/D121170
-
Shao-Ce SUN authored
Inspired by D115469 Reviewed By: craig.topper Differential Revision: https://reviews.llvm.org/D121066
-
Lang Hames authored
This patch removes the unintended resolution of locally scoped absolute symbols (which was causing unexpected definition errors). It stops using the JITSymbolFlags::Absolute flag (it isn't set or used elsewhere, and causes mismatch-flags asserts), and adds JITSymbolFlags::Exported to default scoped absolute symbols. Finally, we now set the scope of absolute symbols correctly in MachOLinkGraphBuilder.
-
Christudasan Devadasan authored
Use TII::getRegClass to return a valid regclass or a nullptr if the RC is unknown for a given OpIdx. This fixes a potential crash occurred while getting the RC from a variadic instruction. Reviewed By: arsenm Differential Revision: https://reviews.llvm.org/D120813
-
Phoebe Wang authored
Reviewed By: RKSimon, LuoYuanke Differential Revision: https://reviews.llvm.org/D120307
-
Philip Reames authored
-
Yitzhak Mandelbaum authored
When pre-initializing fields in the environment, the code assumed that all fields of a struct would be initialized. However, given limits on value construction, that assumption is incorrect. This patch changes the code to drop that assumption and thereby avoid dereferencing a nullptr. Differential Revision: https://reviews.llvm.org/D121158
-
jacquesguan authored
Add patterns for vector widening floating-point reduction instructions. Differential Revision: https://reviews.llvm.org/D120390
-
Philip Reames authored
-
Amir Ayupov authored
Remove `TYPE BIN` parameter that is introduced in CMake 3.14 and revert back to the equivalent compatible form `DESTINATION ${CMAKE_INSTALL_BINDIR}`. Addresses https://github.com/llvm/llvm-project/issues/54099 Reviewed By: rafauler Differential Revision: https://reviews.llvm.org/D121012 -
Jim Ingham authored
The old command wrote to CWD, which doesn't always work, and if it didn't, there was no workaround (and it crashed on failure). This patch changed the setting to provide a directory to save the objects to. Differential Revision: https://reviews.llvm.org/D121036
-
Kai Luo authored
The workaround has been removed via https://reviews.llvm.org/D119931, checks passed on AIX-32. Reviewed By: ldionne, daltenty, jsji, #libc Differential Revision: https://reviews.llvm.org/D121081
-