- Mar 10, 2022
-
-
Nikita Popov authored
I used the wrong build to generate the checks, sorry :(
-
Nikita Popov authored
-
Nikita Popov authored
Also rename variables to avoid file check clash.
-
Michel Weber authored
When `addCoalescedPolyhedron` was called with `j == n - 1`, the `polyhedrons`-vector was not properly updated (the `IntegerPolyhedron` at position `n - 2` was "lost"). This patch adds special handling to that case and a regression testcase. Reviewed By: Groverkss Differential Revision: https://reviews.llvm.org/D121356
-
Groverkss authored
This patch moves PresburgerSpace::removeIdRange(idStart, idLimit) to PresburgerSpace::removeIdRange(kind, idStart, idLimit), i.e. identifiers can only be removed at once for a single kind. This makes users of PresburgerSpace to not assume any inside ordering of identifier kinds. Reviewed By: arjunp Differential Revision: https://reviews.llvm.org/D121079
-
Weining Lu authored
With the addition of disassembler now we can do instructions 'round-trip' test that assembles `.s` to obj with `llvm-mc` and disassembles it with `llvm-objdump` to check instruction mnemonics. Reviewed By: xen0n, MaskRay Differential Revision: https://reviews.llvm.org/D120477
-
serge-sans-paille authored
As a follow-up to 7f230fee
-
Simon Pilgrim authored
As mentioned on Issue #32161 we don't even have uniform vector support for this fold
-
serge-sans-paille authored
after: 1061034926 before: 1063332844 Differential Revision: https://reviews.llvm.org/D121169
-
serge-sans-paille authored
Most notably, Pass.h is no longer included by TargetMachine.h before: 1063570306 after: 1063332844 Differential Revision: https://reviews.llvm.org/D121168
-
Nikita Popov authored
As far as I can tell, these names are only intended to be informative, so just use a generic "PointerType" for opaque pointers. The code in solveDIType() also treats pointers as basic types (and does not try to encode the pointed-to type further), so I believe this should be fine. Differential Revision: https://reviews.llvm.org/D121280
-
Luke authored
Inspired by reviews.llvm.org/D107790. Reviewed By: craig.topper Differential Revision: https://reviews.llvm.org/D119834
-
Craig Topper authored
Similar to what we do for other loads/stores, use the intrinsic version that we already have custom isel for. Reviewed By: rogfer01 Differential Revision: https://reviews.llvm.org/D121166
-
Craig Topper authored
Other targets like ARM, AArch64, and X86 have similar tests. Reviewed By: asb Differential Revision: https://reviews.llvm.org/D120840
-
Amir Ayupov authored
Addresses ThreadSanitizer warning Reviewed By: rafauler Differential Revision: https://reviews.llvm.org/D121337
-
Amir Ayupov authored
Addresses fuzzer crash Reviewed By: rafauler Differential Revision: https://reviews.llvm.org/D121336
-
Siva Chandra Reddy authored
Reviewed By: abrachet Differential Revision: https://reviews.llvm.org/D121334
-
Carl Ritson authored
-
Ahmed Bougacha authored
35ca7d9d broke 471c4f82 for -arch flags that don't map 1:1 to the triple arch. This has been broken for the many years since. It hasn't mattered much since then, mostly because few people use it, but also because it works for x86_64/i386, armv7/armv7s don't differ much, arm64 is its own arch, and arm64/arm64_32 have different arches (and it's a rare combination anyway). But arm64/arm64e exposes this issue again. Patch by: Justin Bogner <mail@justinbogner.com> with some added tests.
-
Yaxun (Sam) Liu authored
Fix a typo about -fno-gpu-sanitize handling and disable warnings when -fno-gpu-sanitize is specified. Reviewed by: Artem Belevich Differential Revision: https://reviews.llvm.org/D121302
-
Yaxun (Sam) Liu authored
The clang compiler prepends the HIP header include paths to the search list using -internal-isystem when building for the HIP language. This prevents warnings related to things like reserved identifiers when including the HIP headers even when ROCm is installed in a non-system directory, such as /opt/rocm. However, when HIP is installed in /usr, then the prepended include path would be /usr/include. That is a problem, because the C standard library headers are stored in /usr/include and the C++ standard library headers must come before the C library headers in the search path list (because the C++ standard library headers use #include_next to include the C standard library headers). While the HIP wrapper headers _do_ need to be earlier in the search than the C++ headers, those headers get their own subdirectory and their own explicit -internal-isystem argument. This include path is for <hip/hip_runtime_api.h> and <hip/hip_runtime.h>, which do not require a particular search ordering with respect to the C or C++ headers. Thus, HIP include path is added after other system include paths. With contribution from Cordell Bloor. Reviewed by: Artem Belevich Differential Revision: https://reviews.llvm.org/D120132
-
LLVM GN Syncbot authored
-
Brad Smith authored
Arm is not quite ready for unwinding yet.
-
Xiang1 Zhang authored
Reviewed By: craig.topper Differential Revision: https://reviews.llvm.org/D120000
-
Yevgeny Rouban authored
opt::setDefaultImpl() is changed to set the option value to the option type's default if the Default field is not set. This results in option value reset by Option::reset() or ResetAllOptionOccurrences() even if the cl::init() is not specified. Example: StackOption<std::string> Str("str"); // No cl::init(). Str = "some value"; cl::ResetAllOptionOccurrences(); EXPECT_EQ("", Str); // The Str is reset. Reviewed By: lattner Differential Revision: https://reviews.llvm.org/D115433 -
Vitaly Buka authored
"1.1" is double which can't be represented precicely as a float.
-
Craig Topper authored
Most other targets support 'generic', but RISCV issues an error. This can require a special case in tools that use LLVM that aren't clang. This patch treats "generic" the same as an empty string and remaps it to generic-rv/rv64 based on the triple. Unfortunately, it has to be added to RISCV.td because MCSubtargetInfo is constructed and parses the CPU before RISCVSubtarget's constructor gets a chance to remap it. The CPU will then reparsed and the state in the MCSubtargetInfo subclass will be updated again. Fixes PR54146. Reviewed By: khchen Differential Revision: https://reviews.llvm.org/D121149
-
Florian Mayer authored
-
Aart Bik authored
Reviewed By: bixia Differential Revision: https://reviews.llvm.org/D121344
-
Shilei Tian authored
-
Aart Bik authored
Reviewed By: bixia Differential Revision: https://reviews.llvm.org/D121315
-
Kevin Athey authored
This reverts commit 0a4dec6c. breaks buildbots
-
Kevin Athey authored
This reverts commit f2a97536. breaks buildbot
-
Sanjay Patel authored
This is a revert of cfcc42bd. The analysis is wrong as shown by the minimal tests for instcombine: https://alive2.llvm.org/ce/z/y9Dp8A There may be a way to salvage some of the other tests, but that can be done as follow-ups. This avoids a miscompile and fixes #54311.
-
Sanjay Patel authored
-
Stanislav Mekhanoshin authored
SDNodes with different target flags may now be folded together rightfully resulting in the assertion in the refineAlignment. Folding nodes with different target flags may result in the wrong load instructions produced at least on the AMDGPU. Fixes: SWDEV-326805 Differential Revision: https://reviews.llvm.org/D121335
-
Louis Dionne authored
This reverts commit 276ca873. That commit has quite a history at this point. It was first landed in dbc647643577, which broke std::shared_ptr<T const> and was reverted in 9138666f. It was then re-applied in 276ca873, with the std::shared_ptr issue fixed, but it caused widespread breakage at Google (which suggests it would cause similar breakage in the wild too), so now I'm reverting again. Instead, I will add a escape hatch that vendors can turn on to enable the extension and perform a phased transition over one or two releases like we sometimes do when things become non-trivial.
-
Michael Gottesman authored
[debug-info] Debug salvage llvm.dbg.addr in original function that point into the coroutine frame when splitting coros. We are already doing this in the split functions while we clone. This just handles the original function. I also updated the coroutine split test to validate that we are always referring to the msg in the context object instead of in a shadow copy. rdar://83957028 Reviewed By: aprantl Differential Revision: https://reviews.llvm.org/D121324
-
David Green authored
-
Colin Cross authored
Use the correct types for OFF_T, __sanitizer_time_t and __sanitizer_dirent and forward time_t related functions to fix using compiler-rt with 32-bit musl libc. Also redirect the time_t functions that are affected by https://musl.libc.org/time64.html to use their 64-bit ABI names. Reviewed By: MaskRay Differential Revision: https://reviews.llvm.org/D119358
-