- May 07, 2022
-
-
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
-
Joseph Huber authored
Currently we require the `-fopenmp-targets=` option to specify the triple to use for the offloading toolchains, and the `-Xopenmp-target=` option to specify architectures to a specific toolchain. The changes made in D124721 allowed us to use `--offload-arch=` to specify multiple target architectures. However, this can become combersome with many different architectures. This patch introduces functinality that attempts to deduce the target triple and architectures from the offloading action. Currently we will deduce known GPU architectures when only `-fopenmp` is specified. This required a bit of a hack to cache the deduced architectures, without this we would've just thrown an error when we tried to look up the architecture again when generating the job. Normally we require the user to manually specify the toolchain arguments, but here they would confict unless we overrode them. Depends on: D124721 Reviewed By: saiislam Differentia...
-
Joseph Huber authored
This patch adds support for OpenMP to use the `--offload-arch` and `--no-offload-arch` options. Traditionally, OpenMP has only supported compiling for a single architecture via the `-Xopenmp-target` option. Now we can pass in a bound architecture and use that if given, otherwise we default to the value of the `-march` option as before. Note that this only applies the basic support, the OpenMP target runtime does not yet know how to choose between multiple architectures. Additionally other parts of the offloading toolchain (e.g. LTO) require the `-march` option, these should be worked out later. Reviewed By: tra Differential Revision: https://reviews.llvm.org/D124721
-
River Riddle authored
This was leftover from when the standard dialect was destroyed, and when FuncOp moved to the func dialect. Now that these transitions have settled a bit we can drop these. Most updates were handled using a simple regex: replace `^( *)func` with `$1func.func` Differential Revision: https://reviews.llvm.org/D124146
-
Sanjay Patel authored
For the unary shuffle pattern, this is opposite to what we try to do with binops, but it seems better to keep it consistent with the motivating binary shuffle pattern. On that, it is clearly better on the usual no-extra uses case. There is a chance that this will pull an fneg away from some other binop and cause a regression in codegen, but that should be invertible in the backend. The transform is birectional: https://alive2.llvm.org/ce/z/kKaKCU https://alive2.llvm.org/ce/z/3Desfw Fixes #45631
-
Sanjay Patel authored
issue #45631
-
Nico Weber authored
This reverts commit 324d696c. Broke check-llvm on Windows, see e.g. https://lab.llvm.org/buildbot/#/builders/216/builds/4005 and comment on https://reviews.llvm.org/rG324d696c154aad42b2580d2f225a677c04fe0ab4
-
Petr Hosek authored
When targeting cortex-a53, set this linker flag rather than relying on the toolchain users to do it in their build. Differential Revision: https://reviews.llvm.org/D114023
-
Mehdi Amini authored
-
Mehdi Amini authored
-
Mehdi Amini authored
-
Mehdi Amini authored
-
Philip Reames authored
-
Philip Reames authored
If the income state hasn't changed, and the step function is fixed by assumption, then the output state can't have changed. In the current algorithm, this is a very minor win and mostly allows adding tracing output without being horrible verbose.
-
Philip Reames authored
Only available with -debug. Main purpose is simplifying an upcoming change, and providing tools for debugging problems.
-
David Green authored
This reverts commit 891c3cf9 as it turns out that the error was not caused by this commit, the error caming from D124526 instead.
-
Nico Weber authored
-