- Aug 11, 2021
-
-
Benjamin Kramer authored
This is a bit cleaner and removes issues with 2d vectors. It also has a big impact on constant folding, hence the test changes. Differential Revision: https://reviews.llvm.org/D107896
-
Alex Zinenko authored
The conversion is a straightforward one-to-one mapping with optional unrolling for nD vectors, similarly to other cast operations. Depends On D107889 Reviewed By: cota, akuegel Differential Revision: https://reviews.llvm.org/D107891
-
Alex Zinenko authored
The constraint was checking that the type is not an LLVM structure or array type, but was not checking that it is an LLVM-compatible type, making it accept incorrect types. As a result, some LLVM dialect ops could process values that are not compatible with the LLVM dialect leading to further issues with conversions and translations that assume all values are LLVM-compatible. Make LLVM_AnyNonAggregate only accept LLVM-compatible types. Reviewed By: cota, akuegel Differential Revision: https://reviews.llvm.org/D107889
-
LLVM GN Syncbot authored
-
Victor Huang authored
[PowerPC][NFC] Update llvm/test/CodeGen/PowerPC/2010-05-03-retaddr1.ll with utils/update_llc_test_checks.py
-
Louis Dionne authored
All supported compilers have implemented __has_unique_object_representations for a while, so it's reasonable to remove the workaround. Differential Revision: https://reviews.llvm.org/D107834
-
Louis Dionne authored
All supported compilers have been supporting __is_aggregate for a long time now, so it's reasonable to remove this workaround. Differential Revision: https://reviews.llvm.org/D107833
-
Louis Dionne authored
Those are going to be used to implement range adaptors, see D107098 for details. Differential Revision: https://reviews.llvm.org/D107785
-
David Spickett authored
This fails with: /tmp/FlagsTest-5761bc.o: In function `sancov.module_ctor_8bit_counters': FlagsTest.cpp:(.text.sancov.module_ctor_8bit_counters[sancov.module_ctor_8bit_counters]+0x14): undefined reference to `__start___sancov_cntrs' FlagsTest.cpp:(.text.sancov.module_ctor_8bit_counters[sancov.module_ctor_8bit_counters]+0x18): undefined reference to `__stop___sancov_cntrs' <...> Since https://reviews.llvm.org/D107374. However the changes there don't seem to be the real fault so xfail while I look into it.
-
Joseph Huber authored
Temporary files created by the offloading device toolchain are not removed after compilation when using a two-step compilation. The offload-bundler uses a different filename for the device binary than the `.o` file present in the Job's input list. This is not listed as a temporary file so it is never removed. This patch explicitly adds the device binary as a temporary file to consume it. This fixes PR50336. Reviewed By: jdoerfert Differential Revision: https://reviews.llvm.org/D107668
-
Raphael Isemann authored
This page was removed in b2e25572
-
Dmitry Vyukov authored
Fix bug introduced by commit 5d106f16. SANITIZER_IOSSIM is always defined, it's the value 0/1 that's meaningful. Reviewed By: DavidSpickett Differential Revision: https://reviews.llvm.org/D107888
-
Balázs Kéri authored
Add some notes and track of bad return value. Reviewed By: steakhal Differential Revision: https://reviews.llvm.org/D107051
-
Raphael Isemann authored
-
Raphael Isemann authored
This test is specifying the lldb log channel via `ll""db` which only really works because the command parser ends up parsing that as `lldb`. Just putting the channel name in quotes is enough to avoid the lldb command substitution and doesn't rely on this weird parser behaviour.
-
Stefan Gränitz authored
These tests rely on running IR code with an explicit x86_64 target triple. They won't work on other architectures. (They won't work for 32-bit processes on x86_64 hosts either. We will take care of this later.) Differential Revision: https://reviews.llvm.org/D107640
-
David Green authored
We are running into more and more cases where the liveouts of low overhead loops do not validate. Add some extra debug messages to make it clearer why.
-
Florian Mayer authored
This broke https://lab.llvm.org/buildbot/#/builders/37/builds/6016/steps/10/logs/stdio Reviewed By: eugenis Differential Revision: https://reviews.llvm.org/D107864
-
Wang, Pengfei authored
This reverts commit 0cfb00a1.
-
Dmitry Vyukov authored
Reported on D107745 Reported-by: Wolfgang Pieb (wolfgangp) Reviewed By: melver Differential Revision: https://reviews.llvm.org/D107881
-
LLVM GN Syncbot authored
-
Daniel Kiss authored
-Wunused-but-set-variable triggers a warning even the block of code is effectively dead. Reviewed By: MaskRay Differential Revision: https://reviews.llvm.org/D107835
-
Daniel Kiss authored
_Unwind_ForcedUnwind is not mandated by the EHABI but for compatibilty reasons adding so the interface to higher layers would be the same. Dropping EHABI specific _Unwind_Stop_Fn definition since it is not defined by EHABI. Reviewed By: MaskRay Differential Revision: https://reviews.llvm.org/D89570
-
Daniel Kiss authored
Moving Itanium and ArmEHABI specific implementations to dedicated files. This is a NFC patch. Reviewed By: MaskRay Differential Revision: https://reviews.llvm.org/D106461
-
Alexander Belyaev authored
This reverts commit edaffebc.
-
Alexander Belyaev authored
This reverts commit 2f946eaa.
-
Cullen Rhodes authored
The ptrue and ptrues instructions are legal in streaming mode, missed in D106272. The reference can be found here: https://developer.arm.com/documentation/ddi0602/2021-06/SVE-Instructions Reviewed By: paulwalker-arm Differential Revision: https://reviews.llvm.org/D107807
-
Rainer Orth authored
The introduction of `SHF_GNU_RETAIN` has caused massive problems on Solaris. Initially, as reported in Bug 49437, it caused dozens of testsuite failures on both sparc and x86. The objects were marked as `ELFOSABI_NONE`, but `SHF_GNU_RETAIN` is a GNU extension. In the native Solaris ABI, that flag (in the range for OS-specific values) is `SHF_SUNW_ABSENT` with a completely different semantics, which confuses Solaris `ld` very much. Later, the objects became (correctly) marked `ELFOSABI_GNU`, which Solaris `ld` doesn't support, causing it to SEGV and break the build. The linker is currently being hardened to not accept non-native OS ABIs to avoid this. The need for linker support is already documented in `clang/include/clang/Basic/AttrDocs.td`, but not currently checked. This patch avoids all this by not emitting `SHF_GNU_RETAIN` on Solaris at all. Tested on `amd64-pc-solaris2.11`, `sparcv9-sun-solaris2.11`, and `x86_64-pc-linux-gnu`. Differential Revision: https://reviews.llvm.org/D107747
-
Matthias Springer authored
Remove code duplication in `addLowerOrUpperBound` and `composeMatchingMap`. Differential Revision: https://reviews.llvm.org/D107814
-
Matthias Springer authored
Reimplement this function in terms of `composeMatchingMap`. Also fix a bug in `composeMatchingMap` where local dims of `this` could be missing in `localCst`. Differential Revision: https://reviews.llvm.org/D107813
-
madhur13490 authored
Reviewed By: niravd Differential Revision: https://reviews.llvm.org/D107845
-
Yolanda Chen authored
When enable CSPGO for ThinLTO, there are profile cfg mismatch warnings that will cause lld-link errors (with /WX). To disable it we have to use an internal "/mllvm:-no-pgo-warn-mismatch" option. In contrast clang uses option ”-Wno-backend-plugin“ to avoid such warnings and gcc has an explicit "-Wno-coverage-mismatch" option. Add this "lto-pgo-warn-mismatch" option to lld to help turn on/off the profile mismatch warnings explicitly when build with ThinLTO and CSPGO. Reviewed By: tejohnson Differential Revision: https://reviews.llvm.org/D104431
-
Matthias Springer authored
Reimplement this function in terms of the function variant without Value semantics. Differential Revision: https://reviews.llvm.org/D107729
-
Petr Hosek authored
When none of the translation units in the binary have been instrumented we shouldn't need to link the profile runtime. However, because we pass -u__llvm_profile_runtime on Linux and Fuchsia, the runtime would still be pulled in and incur some overhead. On Fuchsia which uses runtime counter relocation, it also means that we cannot reference the bias variable unconditionally. This change modifies the InstrProfiling pass to pull in the profile runtime only when needed by declaring the __llvm_profile_runtime symbol in the translation unit only when needed. For now we restrict this only for Fuchsia, but this can be later expanded to other platforms. This approach was already used prior to 9a041a75, but we changed it to always generate the __llvm_profile_runtime due to a TAPI limitation, but that limitation may no longer apply, and it certainly doesn't apply on platforms like Fuchsia. Differential Revision: https://reviews.llvm.org/D98061
-
Petr Hosek authored
This reverts commit 6660cec5 since it was superseded by https://reviews.llvm.org/D98061.
-
Matthias Springer authored
This function overload is similar to the existing `FlatAffineConstraints::addLowerOrUpperBound`. It constrains a dimension based on an affine map. However, in contrast to the other overloading, it does not attempt to align dimensions/symbols of the affine map with the dimensions/symbols of the constraint set. Instead, dimensions/symbols are expected to already be aligned. Differential Revision: https://reviews.llvm.org/D107727
-
Johannes Doerfert authored
Failed for some reason, potentially because of the inner type declaration in combination with the `using`. This might help. Failure: https://lab.llvm.org/buildbot/#/builders/127/builds/15432
-
Matthias Springer authored
This function aligns an affine map (and operands) with given dims and syms SSA values. This is useful in conjunction with `FlatAffineConstraints::addLowerOrUpperBound`, which requires the `boundMap` to be aligned with the constraint set's dims and syms. Differential Revision: https://reviews.llvm.org/D107728
-
Johannes Doerfert authored
PHI nodes are not pass through but change their value, we have to account for that to avoid missing stores. Follow up for D107798 to fix PR51249 for good. Differential Revision: https://reviews.llvm.org/D107808
-
Johannes Doerfert authored
AAPointerInfoFloating needs to visit all uses and some multiple times if we go through PHI nodes. Attributor::checkForAllUses keeps a visited set so we don't recurs endlessly. We now allow recursion for non-phi uses so we track all pointer offsets via PHI nodes properly without endless recursion. This replaces the first attempt D107579. Differential Revision: https://reviews.llvm.org/D107798
-