- Jun 02, 2022
-
-
Chris Bieneman authored
This is failing on an arm32 builder, and it is going to take me a while to debug. To not block further progress I'm disabling this test on arm32 configuraitons.
-
Peter Klausler authored
F18 doesn't accept INTEGER operands to the intrinsic LOGICAL operations; some compilers do. This usage is not portable, and not just because it's non-conforming -- the bit representations of LOGICAL also vary between compilers and options. The "MIL-STD" bit intrinsics IAND() & al. have been avaiable since the late 70's and should be used instead. Differential Revision: https://reviews.llvm.org/D126798
-
Maksim Panchenko authored
Reviewed By: Amir Differential Revision: https://reviews.llvm.org/D126808
-
LLVM GN Syncbot authored
-
Chris Bieneman authored
This patch adds a the first bits of support for a yaml representation of dxcontainer files. Since the YAML representation's primary purpose is testing infrastructure, the yaml representation supports both verbose and a more friendly format by making computable sizes and offsets optional. If provided they are validated to be correct, otherwise they are computed on the fly during emission. As I expand the format I'll be able to make more size fields optional, and I will continue to make the format easier to work with. Depends on D124804 Reviewed By: lhames Differential Revision: https://reviews.llvm.org/D124944
-
Paul Robinson authored
-
Paul Robinson authored
-
Hendrik Greving authored
This reverts commit 430ac5c3. Due to failures in Clang tests. Differential Revision: https://reviews.llvm.org/D125247
-
Florian Hahn authored
Additional test cases for D114487.
-
Chris Bieneman authored
DXContainer files are structured as parts. This patch adds support for parsing out the file part offsets and file part headers. Reviewed By: kuhar Differential Revision: https://reviews.llvm.org/D124804
-
Hendrik Greving authored
Adds MVT::v128i2, MVT::v64i4, and implied MVT::i2, MVT::i4. Keeps MVT::i2, MVT::i4 lowering actions as `expand`, which should be removed once targets set this explicitly. Adjusts 11 lit tests to reflect slightly different behavior during DAG combine. Differential Revision: https://reviews.llvm.org/D125247
-
Adrian Prantl authored
This reverts commit a544710c. See discussion in D120540. This breaks C++ Clang modules on Darwin and also more than a dozen tests in the LLDB testsuite. I think we need to be more careful to separate out the enabling of Clang C++ modules and C++20 modules. Either by having -fmodules-ts control the HaveModules flag, or by adding a way to explicitly turn them off.
-
Adrian Prantl authored
This reverts commit 738c20e6 as a dependency of D120540.
-
Adrian Prantl authored
This reverts commit 35b1cfc7 as a dependency of D120540.
-
Mark de Wever authored
Based on review comments in D110499. Depends on D110499 Reviewed By: ldionne, #libc Differential Revision: https://reviews.llvm.org/D125610
-
Nico Weber authored
-
Michael Eisel authored
This reduces the time emitStabs() takes by about 275ms, or 3% of overall linking time for the project I'm on. Although the parent function is run in parallel, it's one of the slowest tasks in that concurrent batch (I have another optimization for another slow task as well). Differential Revision: https://reviews.llvm.org/D126785
-
Rob Suderman authored
Ctlz is an intrinsic in LLVM but does not have equivalent operations in SPIR-V. Including a decomposition gives an alternative path for these platforms. Reviewed By: NatashaKnk Differential Revision: https://reviews.llvm.org/D126261
-
Yang Keao authored
This patch implements the `MaximalStaticExpansion` and its printer in NPM. Reviewed By: Meinersbur Differential Revision: https://reviews.llvm.org/D125870
-
Nathaniel McVicar authored
Windows builds can't receive environment variables on the command line or make use of RULE_LAUNCH_COMPILE with ccache. Reviewed By: stella.stamenova, Ericson2314 Differential Revision: https://reviews.llvm.org/D126575
-
Stella Laurenzo authored
* Adds simple, non-atomic, non-volatile, non-synchronized direct load/store ops. Differential Revision: https://reviews.llvm.org/D126230
-
Aaron Ballman authored
This field corresponds to the Syntax enumeration, and that gained another entry in 1fdf952d. However, the bit-field for storing the syntax used was not adjusted to handle the extra field. This turns out to be unobservable for HLSL attributes at the moment, so there is no test coverage. But it's also not really an NFC change either.
-
Alexander Belyaev authored
Differential Revision: https://reviews.llvm.org/D126799
-
Anders Waldenborg authored
This adds tests checking the behavior of const variables declared with weak attribute. Both checking that they can not be used in places where a constant expression is required and that a dynamic initializer is emitted when used as an initializer expression. Differential Revision: https://reviews.llvm.org/D126578
-
bixia1 authored
Reviewed By: aartbik Differential Revision: https://reviews.llvm.org/D126732
-
Stanislav Mekhanoshin authored
Differential Revision: https://reviews.llvm.org/D126797
-
Alexey Bataev authored
Improved/fixed cost modeling for shuffles by providing masks, improved cost model for non-identity insertelements. Differential Revision: https://reviews.llvm.org/D115462
-
Andrew Browne authored
Reviewed By: vitalybuka Differential Revision: https://reviews.llvm.org/D126429
-
Siva Chandra Reddy authored
The state is now stored on the thread's stack memory. This enables implementing pthread API like pthread_detach which takes the pthread_t structure argument by value. Reviewed By: lntue Differential Revision: https://reviews.llvm.org/D126716
-
Adrian Prantl authored
This reverts commit ca73de43. That patch was just hiding the problem, instead of fixing it.
-
Joseph Huber authored
This patchs adds the arguments necessary to allocate the size of the dynamic shared memory via the `LIBOMPTARGET_SHARED_MEMORY_SIZE` environment variable. This patch only allocates the memory, AMDGPU has a limitation that shared memory can only be accessed from the kernel directly. So this will currently only work with optimizations to inline the accessor function. Reviewed By: JonChesterfield Differential Revision: https://reviews.llvm.org/D125252
-
Yi Kong authored
Differential Revision: https://reviews.llvm.org/D126788
-
Fangrui Song authored
The script uses llvm-link to link LLVM bitcode files. 5426da8f used -DLLVM_DISABLE_ASSEMBLY_FILES=ON to ignore object files compiled from lib/Support/BLAKE3/*.S. A better approach (which fits Bazel better) is to ignore non-bitcode files. Reviewed By: akyrtzi Differential Revision: https://reviews.llvm.org/D126728
-
Nico Weber authored
sanitizer_intercept_overriders.h might override SANITIZER_INTERCEPT_CRYPT_R to be undefined. There's no need to require crypt.h in that case. (The motivation is that crypt() moved from glibc into its own package at some point, which makes intercepting it and building with a single sysroot that supports both pre-bullseye and post-bullseye a bit hairy.) Differential Revision: https://reviews.llvm.org/D126696
-
Aart Bik authored
There is no direct ctypes for MLIR's complex (and thus np.complex128 and np.complex64) yet, causing the mlir python binding methods for memrefs to crash. This revision fixes this by passing complex arrays as tuples of floats, correcting at the boundaries for the proper view. NOTE: some of these changes (4 -> 2) were forced by the new "linting" Reviewed By: mehdi_amini Differential Revision: https://reviews.llvm.org/D126422
-
Brooks Davis authored
Don't build atomic fetch nand libcall functions when the required compiler builtin isn't available. Without this compiler-rt can't be built with LLVM 13 or earlier. Not building the libcall functions isn't optimal, but aligns with the usecase in FreeBSD where compiler-rt from LLVM 14 is built with an LLVM 13 clang and no LLVM 14 clang is built. Reviewed By: efriedma Differential Revision: https://reviews.llvm.org/D126710
-
Balazs Benics authored
I'm adding a test demonstraing that the issue reported by @mikaelholmen is fixed. Differential Revision: https://reviews.llvm.org/D126198
-
Alexey Bataev authored
Extractelement instructions may come from different basic blocks, need to take it into account when looking for a last instruction in the bundle to prevent compiler crash. Differential Revision: https://reviews.llvm.org/D126777
-
Stephen Long authored
`isExternCContext()` is returning false for functions in C files Reviewed By: rnk, aaron.ballman Differential Revision: https://reviews.llvm.org/D126559
-
Simon Pilgrim authored
-