- Jun 02, 2022
-
-
Nikita Popov authored
Add binding for the opaque pointer compatible LLVMBuildCall2 API and use it in tests.
-
lewuathe authored
Add a sanity check for newly added tan operation in complex dialect. It follows-up to https://reviews.llvm.org/D126685. Differential Revision: https://reviews.llvm.org/D126858
-
owenca authored
Also updates the unit tests to match the updated LLVM Coding Standards. Differential Revision: https://reviews.llvm.org/D126758
-
Stanislav Gatev authored
This is part of the implementation of the dataflow analysis framework. See "[RFC] A dataflow analysis framework for Clang AST" on cfe-dev. Differential Revision: https://reviews.llvm.org/D120495 Reviewed-by: ymandel, xazax.hun
-
Benjamin Kramer authored
-
Nikita Popov authored
This enabled opaque pointers by default in LLVM. The effect of this is twofold: * If IR that contains *neither* explicit ptr nor %T* types is passed to tools, we will now use opaque pointer mode, unless -opaque-pointers=0 has been explicitly passed. * Users of LLVM as a library will now default to opaque pointers. It is possible to opt-out by calling setOpaquePointers(false) on LLVMContext. A cmake option to toggle this default will not be provided. Frontends or other tools that want to (temporarily) keep using typed pointers should disable opaque pointers via LLVMContext. Differential Revision: https://reviews.llvm.org/D126689
-
Amir Ayupov authored
Use color coding to distinguish nodes: - Entry nodes have bold border - Scalar (non-loopy) code is milk white - Outer loops are light yellow - Innermost loops are light blue `-print-loops` needs to be enabled to provide BinaryLoopInfo. Examples: {F23170673} {F23170680} Reviewed By: rafauler Differential Revision: https://reviews.llvm.org/D126248 -
Venkata Ramanaiah Nalamothu authored
Reviewed By: JDevlieghere Differential Revision: https://reviews.llvm.org/D126596
-
Weining Lu authored
-
Amir Ayupov authored
Reuse the option `-dot-tooltip-code` to put block instructions into the label. This way, the instructions are displayed by default when used with dot viewer. When the .dot file is used with dot2html, instructions are hidden by default, and are shown by clicking on a node. {F23169510} Reviewed By: rafauler Differential Revision: https://reviews.llvm.org/D126237 -
Amir Ayupov authored
To be rendered in browser using d3-graphviz. Example: {F23169510} Reviewed By: rafauler Differential Revision: https://reviews.llvm.org/D126218 -
jacquesguan authored
This patch adds the constant folder for RemF. Differential Revision: https://reviews.llvm.org/D126045
-
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
-