- May 07, 2022
-
-
Simon Pilgrim authored
-
Amaury Séchet authored
-
Sanjay Patel authored
As shown in https://github.com/llvm/llvm-project/issues/55150 - the existing fold may be wrong when converting to a signed value. This is a quick fix to avoid the miscompile. I added tests/comments for all of the signed/unsigned combinations at either side of the boundary width, and tried to confirm with Alive2: https://alive2.llvm.org/ce/z/3p9DSu There are already some TODO items in the test file that suggest possible refinements, so the regression with ui->FP->si is probably ok. It seems unlikely that we'd see these kind of edge cases with non-byte-width integer types in real code. The potential miscompile went undetected for several years. This and 747c6a0c fixes #55150. Differential Revision: https://reviews.llvm.org/D124692
-
Simon Pilgrim authored
hint is a compile time constant and can't be passed in as a variable - we already hardcode
-
Serge Pavlov authored
If a constrained intrinsic call was replaced by some value, it was not removed in some cases. The dangling instruction resulted in useless instructions executed in runtime. It happened because constrained intrinsics usually have side effect, it is used to model the interaction with floating-point environment. In some cases side effect is actually absent or can be ignored. This change adds specific treatment of constrained intrinsics so that their side effect can be removed if it actually absents. Differential Revision: https://reviews.llvm.org/D118426
-
Sam McCall authored
This reverts commit a1bb952e. I'd somehow missed updating llvm-yaml-parser-fuzzer, now fixed.
-
Aaron Ballman authored
This reverts commit 1c5e85b3. It broke a lot of bots with a link error: https://lab.llvm.org/buildbot/#/builders/171/builds/14222 https://lab.llvm.org/buildbot/#/builders/188/builds/13748 https://lab.llvm.org/buildbot/#/builders/109/builds/38127
-
Aaron Ballman authored
-
Paul Walker authored
Add helper functions to query the signed and scaled properties of ISD::IndexType along with functions to change them. Remove setIndexType from MaskedGatherSDNode because it only has one usage and typically should only be changed alongside its index operand. Minimise the direct use of the enum values to lay the groundwork for more refactoring. Differential Revision: https://reviews.llvm.org/D123347
-
Sam McCall authored
All llvm-project fuzzers use this library to parse command-line arguments. Many of them don't deal with LLVM IR or modules in any way. Bundling those functions in one library forces build dependencies that don't need to be there. Among other things, this means check-clang-pseudo no longer depends on most of LLVM. Differential Revision: https://reviews.llvm.org/D125081
-
Sam McCall authored
These are not directly related to the CLI, and are mostly (always?) used when mutating the modules as part of fuzzing. Motivation: split FuzzerCLI into its own library that does not depend on IR. Subprojects that don't use IR should be be fuzzed without the dependency. Differential Revision: https://reviews.llvm.org/D125080
-
Simon Pilgrim authored
[X86] Add description comments to SandyBridge for COPY/WriteZero/WriteVecMaskedGatherWriteback cases. NFC. Match other models. Use X86WriteRes for WriteVecMaskedGatherWriteback like other models as well.
-
David Green authored
-
Chenbing Zheng authored
Alive2: https://alive2.llvm.org/ce/z/2UNVbp Reviewed By: RKSimon, spatel Differential Revision: https://reviews.llvm.org/D124503
-
Mehdi Amini authored
-
Chenbing Zheng authored
-
Chenbing Zheng authored
Splatting a bit of constant-index across a value: sext (ashr (trunc iN X to iM), M-1) to iN --> ashr (shl X, N-M), N-1 If the dest type is different, use a cast (adjust use check). https://alive2.llvm.org/ce/z/acAan3 Reviewed By: spatel Differential Revision: https://reviews.llvm.org/D124590
-
Petr Hosek authored
This reverts commit 203455c8 since it breaks the OpenMP builders for AMDGPU.
-
Brad Smith authored
After feedback from D122861, do the same thing with some of the other headers. Try to move the headers so they have a similar style and way of doing things. Reviewed By: ldionne, daltenty Differential Revision: https://reviews.llvm.org/D124227
-
Brad Smith authored
Reviewed By: ldionne Differential Revision: https://reviews.llvm.org/D125068
-
Peter S. Housel authored
ORC ELFNixPlatform currently only supports x86_64.
-
Petr Hosek authored
This reverts commit 102bc634 because some tests are failing on sanitizer bots.
-
Eric Schweitz authored
Reviewed By: vdonaldson, PeteSteinfeld Differential Revision: https://reviews.llvm.org/D125140
-
Petr Hosek authored
This applies the change made to libunwind+libcxxabi+libcxx in D113253 to compiler-rt as well. Differential Revision: https://reviews.llvm.org/D115674
-
Petr Hosek authored
This reverts commit fecad835.
-
Petr Hosek authored
This applies the change made to libunwind+libcxxabi+libcxx in D113253 to compiler-rt as well. Differential Revision: https://reviews.llvm.org/D115674
-
Petr Hosek authored
Differential Revision: https://reviews.llvm.org/D125082
-
Alexander Shaposhnikov authored
-
Florian Mayer authored
The globals are better expressed as members of the Symbolizer, and all functions operating on it should be methods instead. Also using the standard idiom of wrapping the main code in `if __name__ == '__main__'`. Reviewed By: eugenis Differential Revision: https://reviews.llvm.org/D125032
-
Florian Mayer authored
Reviewed By: eugenis Differential Revision: https://reviews.llvm.org/D124950
-
owenca authored
Differential Revision: https://reviews.llvm.org/D125064
-
Florian Hahn authored
This reverts commit db7a87ed. This seems to cause a PPC buildbot failure: https://lab.llvm.org/buildbot#builders/93/builds/8787
-
Louis Dionne authored
Since D97044, libc++ implements <stdatomic.h>, which is not compatible with the <atomic> header in C++03 mode. To fix the tests, avoid using <stdatomic.h> at all, since it is not strictly required. rdar://92867529 Differential Revision: https://reviews.llvm.org/D125118
-
Konstantin Varlamov authored
This only adds the customization point object (which isn't pipeable), the view itself has already been implemented previously. Differential Revision: https://reviews.llvm.org/D124978
-
Kazu Hirata authored
This patch adds a test case for i256 additions and subtractions. I'm leaving out multiplications for now, which would result in very long sequences. Differential Revision: https://reviews.llvm.org/D125125
-
LLVM GN Syncbot authored
-
Konstantin Varlamov authored
The view itself has been implemented previously -- this patch only adds the ability to pipe it. Also implements [P1739](https://wg21.link/p1739) (partially) and [LWG3407](https://wg21.link/lwg3407). Differential Revision: https://reviews.llvm.org/D123600
-
Sam McCall authored
This change was intended to add the tests check-clang and check-clang-pseudo, but afterwards it was *only* running those tests. (This was because unlike add_lit_testsuite, add_lit_testsuite*s* does not get included in umbrella suites).
-
Petr Hosek authored
This is the idiomatic way to handle include directories in CMake. Differential Revision: https://reviews.llvm.org/D122614
-
Peter S. Housel authored
This changes the ELFNix platform Orc runtime to use, when available, the __unw_add_dynamic_eh_frame_section interface provided by libunwind for registering .eh_frame sections loaded by JITLink. When libunwind is not being used for unwinding, the ELFNix platform detects this and defaults to the __register_frame interface provided by libgcc_s. Reviewed By: lhames Differential Revision: https://reviews.llvm.org/D114961
-