- Jul 15, 2021
-
-
Irina Dobrescu authored
Differential Revision: https://reviews.llvm.org/D105696
-
Sebastian Neubauer authored
Meta instructions have a size of 0. Use isMetaInstruction instead of listing them explicitly. Differential Revision: https://reviews.llvm.org/D106043
-
Ilya Leoshkevich authored
Define the address ranges (similar to the C/C++ ones, but with the heap range merged into the app range) and enable the sanity check. Reviewed By: dvyukov Differential Revision: https://reviews.llvm.org/D105629
-
Ilya Leoshkevich authored
Enable building the runtime and enable -fsanitize=thread in clang. Reviewed By: dvyukov Differential Revision: https://reviews.llvm.org/D105629
-
Ilya Leoshkevich authored
XFAIL map32bit, define the maximum possible allocation size in mmap_large.cpp. Reviewed By: dvyukov Differential Revision: https://reviews.llvm.org/D105629
-
Ilya Leoshkevich authored
Reuse the assembly glue code from sanitizer_common_interceptors.inc and the handling logic from the __tls_get_addr interceptor. Reviewed By: dvyukov Differential Revision: https://reviews.llvm.org/D105629
-
Ilya Leoshkevich authored
SystemZ does not have 128-bit atomics. Reviewed By: dvyukov Differential Revision: https://reviews.llvm.org/D105629
-
Ilya Leoshkevich authored
Implement the interceptor and stack pointer demangling. Reviewed By: dvyukov Differential Revision: https://reviews.llvm.org/D105629
-
Ilya Leoshkevich authored
The kernel supports a full 64-bit VMA, but we can use only 48 bits due to the limitation imposed by SyncVar::GetId(). So define the address ranges similar to the other architectures, except that the address space "tail" needs to be made inaccessible in CheckAndProtect(). Since it's for only one architecture, don't make an abstraction for this. Reviewed By: dvyukov Differential Revision: https://reviews.llvm.org/D105629
-
Ilya Leoshkevich authored
SystemZ's glibc symbols use version 2.3.2. Reviewed By: dvyukov Differential Revision: https://reviews.llvm.org/D105629
-
Ilya Leoshkevich authored
These tests depend on TSan seeing the intercepted memcpy(), so they break when the compiler chooses the builtin version. Reviewed By: dvyukov Differential Revision: https://reviews.llvm.org/D105629
-
Ilya Leoshkevich authored
SystemZ ABI requires zero-extending function parameters to 64-bit. The compiler is free to optimize the code around this assumption, e.g. failing to zero-extend __tsan_atomic32_load()'s morder may cause crashes in to_mo() switch table lookup. Fix by adding zeroext attributes to TSan's FunctionCallees, similar to how it was done in commit 3bc439bd ("[MSan] Add instrumentation for SystemZ"). This is a no-op on arches that don't need it. Reviewed By: dvyukov Differential Revision: https://reviews.llvm.org/D105629
-
Ilya Leoshkevich authored
s390x requires ThreadRegistry.mtx_.opaque_storage_ to be 4-byte aligned. Since other architectures may have similar requirements, use the maximum thread_registry_placeholder alignment from other sanitizers, which is 64 (LSan). Reviewed By: dvyukov Differential Revision: https://reviews.llvm.org/D105629
-
Ilya Leoshkevich authored
When running with an old glibc, CollectStaticTlsBlocks() calls __tls_get_addr() in order to force TLS allocation. This function is not available on s390 and the code simply does nothing in this case, so all the resulting static TLS blocks end up being incorrect. Fix by calling __tls_get_offset() on s390. Reviewed By: dvyukov Differential Revision: https://reviews.llvm.org/D105629
-
Ilya Leoshkevich authored
setuid(0) hangs on SystemZ under TSan because TSan's BackgroundThread ignores SIGSETXID. This in turn happens because internal_sigdelset() messes up the mask bits on big-endian system due to how __sanitizer_kernel_sigset_t is defined. Commit d9a1a53b ("[ESan] [MIPS] Fix workingset-signal-posix.cpp on MIPS") fixed this for MIPS by adjusting the __sanitizer_kernel_sigset_t definition. Generalize this by defining __SANITIZER_KERNEL_NSIG based on kernel's _NSIG and using uptr[] for __sanitizer_kernel_sigset_t.sig on all platforms. Reviewed By: dvyukov Differential Revision: https://reviews.llvm.org/D105629
-
Max Kazantsev authored
This patch demonstrates a scenario when we need to load/store a single 64-byte value, which is done by 2 ymm loads and stores in AVX. The current codegen choses the following sequence: load ymm0 load ymm1 store ymm1 store ymm0 If we instead stored ymm0 before ymm1, we could execute 2nd load and 1st store in parallel.
-
Cullen Rhodes authored
This patch adds support for the following outer product instructions: * BFMOPA, BFMOPS, FMOPA, FMOPS, SMOPA, SMOPS, SUMOPA, SUMOPS, UMOPA, UMOPS, USMOPA, USMOPS. Depends on D105570. The reference can be found here: https://developer.arm.com/documentation/ddi0602/2021-06 Reviewed By: david-arm Differential Revision: https://reviews.llvm.org/D105571 -
Florian Mayer authored
Reviewed By: vitalybuka Differential Revision: https://reviews.llvm.org/D105971
-
Bogdan Graur authored
Differential Revision: https://reviews.llvm.org/D106047
-
serge-sans-paille authored
If the instantiation of a member variable makes it possible to compute a previously undeduced type, we should use that piece of information. Fix bug#50590 Differential Revision: https://reviews.llvm.org/D103849
-
Timm Bäder authored
They otherwise show up when we link against the dynamic libLLVM.so. Differential Revision: https://reviews.llvm.org/D105893
-
Aart Bik authored
While replacing linalg.copy with the more desired memref.copy I found a bug in the support library for rank 0 memref copying. The code would loop for something like the following, since there is code for no-rank and rank > 0, but rank == 0 was unexpected. memref.copy %0, %1: memref<f32> to memref<f32> Note that a "regression test" for this will follow using the sparse compiler migration to memref.copy which exercises this case many times. Reviewed By: herhut Differential Revision: https://reviews.llvm.org/D106036
-
LLVM GN Syncbot authored
-
Balázs Kéri authored
`PathSensitiveBughReport` has a function to mark a symbol as interesting but it was not possible to clear this flag. This can be useful in some cases, so the functionality is added. Reviewed By: NoQ Differential Revision: https://reviews.llvm.org/D105637
-
Djordje Todorovic authored
This patch adds the forward scan for finding redundant DBG_VALUEs. This analysis aims to remove redundant DBG_VALUEs by going forward in the basic block by considering the first DBG_VALUE as a valid until its first (location) operand is not clobbered/modified. For example: (1) DBG_VALUE $edi, !"var1", ... (2) <block of code that does affect $edi> (3) DBG_VALUE $edi, !"var1", ... ... in this case, we can remove (3). Differential Revision: https://reviews.llvm.org/D105280
-
Tony Tye authored
Reviewed By: rampitec Differential Revision: https://reviews.llvm.org/D106034
-
Chuanqi Xu authored
This patch make coroutine passes run by default in LLVM pipeline. Now the clang and opt could handle IR inputs containing coroutine intrinsics without special options. It should be fine. On the one hand, the coroutine passes seems to be stable since there are already many projects using coroutine feature. On the other hand, the coroutine passes should do nothing for IR who doesn't contain coroutine intrinsic. Test Plan: check-llvm Reviewed by: lxfind, aeubanks Differential Revision: https://reviews.llvm.org/D105877
-
Mehdi Amini authored
Reviewed By: rriddle Differential Revision: https://reviews.llvm.org/D105961
-
John Demme authored
Adds `owner` python call to `mlir.ir.Value`. Assuming that `PyValue.parentOperation` is intended to be the value's owner, this fixes the construction of it from `PyOpOperandList`. Reviewed By: stellaraccident Differential Revision: https://reviews.llvm.org/D103853
-
Mehdi Amini authored
This reverts commit 58018858. The Python bindings test are broken.
-
Kuter Dinel authored
This patch adds a feature to AACallEdges AbstractAttribute that allows users to ask if there is a unknown callee that isn't a inline assembly. This feature is needed by some of it's users. Reviewed By: jdoerfert Differential Revision: https://reviews.llvm.org/D105992
-
Mehdi Amini authored
Reviewed By: rriddle Differential Revision: https://reviews.llvm.org/D105961
-
Chen Zheng authored
-
Matthias Springer authored
Produce simpler IR with more static type information and fewer affine expressions. Differential Revision: https://reviews.llvm.org/D105530
-
Matthias Springer authored
Generate simpler code in case low/high padding of the PadTensorOp is statically zero. Differential Revision: https://reviews.llvm.org/D105529
-
Matthias Springer authored
The build failure was introduced by D105458. (Linux builds were not affected.) Differential Revision: https://reviews.llvm.org/D106029
-
Matthias Springer authored
Tiling can be enabled with `linalg-tile-pad-tensor-ops`. Only scf::ForOp can be generated at the moment. Differential Revision: https://reviews.llvm.org/D105460
-
Matthias Springer authored
Differential Revision: https://reviews.llvm.org/D105602
-
Matthias Springer authored
This optional operand will be used for tiling in a subsequent commit. Differential Revision: https://reviews.llvm.org/D105459
-
Matthias Springer authored
Factor out the functionality into a new function, so that it can be used for creating PadTensorOp tiles. Differential Revision: https://reviews.llvm.org/D105458
-