- Jun 02, 2022
-
-
Weining Lu authored
The correct type is FPR64 but not FPR32.
-
Tobias Hieta authored
-
LLVM GN Syncbot authored
-
Mark de Wever authored
-
Mark de Wever authored
The functions to_chars and from_chars should offer 128-bit support. This is the first step to implement 128-bit version of to_chars. Before implementing 128-bit support the current code will be polished. This moves the code from the dylib to the header in prepartion of P2291 "Add Constexpr Modifiers to Functions to_chars and from_chars for Integral Types in <charconv> Header" Note some more cleanups will be done in follow-up commits - Remove the _LIBCPP_AVAILABILITY_TO_CHARS from to_chars. With all code in the header the availablilty macro is no longer needed. This requires enabling the unit tests for additional platforms. - The code in the dylib can switch to using the header implementation. This allows removing the code duplicated in the header and the dylib. Reviewed By: #libc, ldionne Differential Revision: https://reviews.llvm.org/D125704
-
Richard authored
C requires that enum values fit into an int. Scan the macro tokens present in an initializing expression and reject macros that contain tokens that have suffixes making them larger than int. C forbids the comma operator in enum initializing expressions, so optionally reject comma operator. Differential Revision: https://reviews.llvm.org/D125622 Fixes #55467
-
eopXD authored
This patch does not effect any behavior of the current code. The codebase implicitly implies that `Cost::RateFormula` is only called when the `Cost` is not in losing status, or else there may be possible to trigger the assertion of `Cost::isValid`. The intention here is to prevent mis-use where future development allow `Cost` that is already loser to call `Cost::RateFormula` - Early exit when `Cost` is already losing. Reviewed By: Meinersbur, #loopoptwg Differential Revision: https://reviews.llvm.org/D125670
-
jacquesguan authored
This patch supports the token type for converting from LLVM IR. Differential Revision: https://reviews.llvm.org/D126756
-
Fangrui Song authored
-
Florian Mayer authored
This makes it easier to find the offending ELF file. Reviewed By: #libunwind, MaskRay Differential Revision: https://reviews.llvm.org/D126841
-
Nico Weber authored
See revision b8b7a9dc for prior art.
-
Snehasish Kumar authored
This change prints out the segment information in the raw profile in YAML format for testing. Since we don't capture build ids yet, we print out <None> for now. Reviewed By: tejohnson Differential Revision: https://reviews.llvm.org/D126840
-
jacquesguan authored
Differential Revision: https://reviews.llvm.org/D126442
-
Snehasish Kumar authored
Update the YAML format print out of the profile to include a summary instead of displaying the headers in the raw file buffer. This allows us to release the raw buffer early saving memory. Reviewed By: tejohnson Differential Revision: https://reviews.llvm.org/D126834
-
Matthias Braun authored
-
Siva Chandra Reddy authored
They do not yet support all the feature/attributes in pthread_attr_t. Future changes will add such support. Reviewed By: lntue Differential Revision: https://reviews.llvm.org/D126718
-
Joe Loser authored
Some tests in `string.view.comparison` are not enabled due to previous lack of support for `constexpr std::string`. Now that it is implemented, we can enable these tests. Differential Revision: https://reviews.llvm.org/D126737
-
Chris Bieneman authored
Silly mistake, the code here was byteswapping in-place which corrupts the data structure that is used later to write the correct file.
-
Alexander Yermolovich authored
When we generate split dwarf with -fdebug-types-section we will have .debug_types.dwo sections. These go into TU Index when we run llvm-dwp. BOLT was not handling DWP input correctly with this section. Added support for handling DWP with TU Index as an input and output for DWARF4. Added support for handling DWP with TU Index as an input for DWARF5 Reviewed By: maksfb Differential Revision: https://reviews.llvm.org/D126087
-
Matt Arsenault authored
The pass doesn't handle SSA and breaks any phis.
-
Matt Arsenault authored
-
Matt Arsenault authored
-
Matthias Braun authored
LTO code may end up mixing bitcode files from various sources varying in their use of opaque pointer types. The current strategy to decide between opaque / typed pointers upon the first bitcode file loaded does not work here, since we could be loading a non-opaque bitcode file first and would then be unable to load any files with opaque pointer types later. So for LTO this: - Adds an `lto::Config::OpaquePointer` option and enforces an upfront decision between the two modes. - Adds `-opaque-pointers`/`-no-opaque-pointers` options to the gold plugin; disabled by default. - `--opaque-pointers`/`--no-opaque-pointers` options with `-plugin-opt=-opaque-pointers`/`-plugin-opt=-no-opaque-pointers` aliases to lld; disabled by default. - Adds an `-lto-opaque-pointers` option to the `llvm-lto2` tool. - Changes the clang driver to pass `-plugin-opt=-opaque-pointers` to the linker in LTO modes when clang was configured with opaque pointers...
-
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
-
Fangrui Song authored
-
Quentin Colombet authored
Even if CSR list is same between functions, we could have had a different allocation order if ignoreCSRForAllocationOrder is evaluated differently. Hence invalidate cached register class information if ignoreCSRForAllocationOrder changes. Patch by Srividya Karumuri <srividya_karumuri@apple.com> Differential Revision: https://reviews.llvm.org/D126565
-
Shilei Tian authored
This patch adds the support for `compare capture` in `OMPIRBuilder`. Reviewed By: jdoerfert Differential Revision: https://reviews.llvm.org/D120007
-
Philip Reames authored
I've gotten tired of updating register allocation changes by hand, let's just autogen this even if we have to duplicate it.
-
Alexey Bataev authored
This reverts commit fd5a6ce9 to fix a crash detected by a buildbot https://lab.llvm.org/buildbot/#/builders/179/builds/3805/steps/11/logs/stdio.
-
Joseph Huber authored
We use the `OffloadBinary` to create binary images of offloading files and their corresonding metadata. This patch changes this to inherit from the base `Binary` class. This allows us to create and insepect these more generically. This patch includes all the necessary glue to implement this as a new binary format, along with added the magic bytes we use to distinguish the offloading binary to the `file_magic` implementation. Reviewed By: tra Differential Revision: https://reviews.llvm.org/D126812
-
Craig Topper authored
-
David Tenty authored
The option mdefault-visibility-export-mapping is created to allow mapping default visibility to an explicit shared library export (e.g. dllexport). Exactly how and if this is manifested is target dependent (since it depends on how they map dllexport in the IR). Three values are provided for the option: * none: the default and behavior without the option, no additional export linkage information is created. * explicit: add the export for entities with explict default visibility from the source, including RTTI * all: add the export for all entities with default visibility This option is useful for targets which do not export symbols as part of their usual default linkage behaviour (e.g. AIX), such targets traditionally specified such information in external files (e.g. export lists), but this mapping allows them to use the visibility information typically used for this purpose on other (e.g. ELF) platforms. Reviewed By: MaskRay Differential Revision: https://reviews.llvm.org/D126340
-
Matthias Springer authored
Now that we have an AllocTensorOp (previously InitTensorOp) in the bufferization dialect, the InitOp in the sparse dialect is no longer needed. Differential Revision: https://reviews.llvm.org/D126180
-
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.
-
wren romano authored
The trick of using an empty token in the `FOREVERY_O` x-macro relies on preprocessor behavior which is only standard since C99 6.10.3/4 and C++11 N3290 16.3/4 (whereas it was undefined behavior up through C++03 16.3/10). Since the `ExecutionEngine/SparseTensorUtils.cpp` file is required to be compile-able under C++98 compatibility mode (unlike the C++11 used elsewhere in MLIR), we shouldn't rely on that behavior. Also, using a non-empty suffix helps improve uniformity of the API, since all other primary/overhead suffixes are also non-empty. I'm using the suffix `0` since that's the value used by the `SparseTensorEncoding` attribute for indicating the index overhead-type. Depends On D126720 Reviewed By: aartbik Differential Revision: https://reviews.llvm.org/D126724
-
Florian Hahn authored
Recently the terminology used has been changed from Exit->Exiting in line with common LLVM loop terminology. Update a remaining use of the old terminology.
-
Huan Nguyen authored
Replace "cache+" with "ext-tsp" in all BOLT tests Test Plan: ``` ninja check-bolt grep -rnw . -e "cache+" ``` no more tests containing "cache+" "cache+" and "ext-tsp" are aliases Reviewed By: rafauler Differential Revision: https://reviews.llvm.org/D126714
-
Nicolai Hähnle authored
Support the pattern where a test file uses multiple prefixes per run line: one prefix that is unique to the run line, and additional prefixes that are common with other run lines. Decide on a per-function basis which prefix(es) to emit, based on which run lines have the same output. Move the renaming of vregs earlier, so that we can compare the output as it would actually be printed in check lines. Differential Revision: https://reviews.llvm.org/D126411
-
Benjamin Kramer authored
-