- Aug 09, 2022
-
-
Joseph Huber authored
Summary: This patch updates the linker wrapper to use C++17 structured bindings now that they are availible.
-
Fangrui Song authored
Follow-up to D130689. Reviewed By: thieta Differential Revision: https://reviews.llvm.org/D131382
-
Fangrui Song authored
The header from 62e0681a does something with LLVM_FALLTHROUGH. Now that llvm-project has switched to C++17 and LLVM_FALLTHROUGH uses have been migrated to [[fallthrough]], the header is unneeded. Reviewed By: JDevlieghere Differential Revision: https://reviews.llvm.org/D131422
-
Daniel Thornburgh authored
-
Jeff Bailey authored
Add "using" and "status" sections to the sidebar to make getting these easier. Fixed mobile formatting not overflow left and right. Tested: Chrome on Desktop, using mobile restrictions in devtools. Reviewed By: sivachandra Differential Revision: https://reviews.llvm.org/D131369
-
Fangrui Song authored
-
Lei Zhang authored
This further relaxes the requirement to allow aliased resources to have different primitive types and some are scalars while the other are vectors. Reviewed By: ThomasRaoux Differential Revision: https://reviews.llvm.org/D131207
-
Fangrui Song authored
With C++17 there is no Clang pedantic warning or MSVC C5051.
-
Nico Weber authored
Normally we'd use LLVM_FALLTHROUGH, or now, [[fallthrough]]. But for case labels followed directly by other case labels, we use neither. No behavior change.
-
Nico Weber authored
-
Ruobing Han authored
With profile data, non-trivial LoopUnswitch will only apply on non-cold loops, as unswitching cold loops may not gain much benefit but significantly increase the code size. Reviewed By: aeubanks, asbirlea Differential Revision: https://reviews.llvm.org/D129599
-
Filipp Zhinkin authored
Baseline tests for D131189.
-
Daniel Thornburgh authored
Implements the pc element for the symbolizing filter, including it's "ra" and "pc" modes. Return addresses ("ra") are adjusted by decrementing one. By default, {{{pc}}} elements are assumed to point to precise code ("pc") locations. Backtrace elements will adopt the opposite convention. Along the way, some minor refactors of value printing and colorization. Reviewed By: peter.smith Differential Revision: https://reviews.llvm.org/D131115 -
Vang Thao authored
We are seeing significant performance loss when an alloca fails to get promoted to register. I have observed that this is due to the common type found when attempting to rewrite partition users being unviable for promotion. While if we would have continue looking for a type, we would have found a subtype in the original allocated type that would have enabled promotion. Thus first check if the initial common type found is promotion viable and if not then continue looking instead of stopping with the initial common type found. Reviewed By: arsenm Differential Revision: https://reviews.llvm.org/D128073
-
Alex Langford authored
This test previously was expected to fail on windows. As of my previous patch (1d2a62af) this test now passes on windows consistently. This patch adjusts the expectations of the test accordingly.
-
Slava Zakharin authored
With this change all supported pgmath functions for non-complex data types are replaced with either libm calls or MLIR operations, except for MOD and some flavors of POW, which are going to be addressed by other commits. At the current stage a few math intrinsics are lowered into libm calls always. When appropriate MLIR operation are available, the table can be updated to generate them.
-
Simon Pilgrim authored
These are safe to fold from freeze(unaryop(x)) -> unaryop(freeze(x))
-
Peiming Liu authored
See https://www.tensorflow.org/xla/operation_semantics#concatenate for the operator semantics Reviewed By: aartbik Differential Revision: https://reviews.llvm.org/D131111
-
Fangrui Song authored
BSD and GNU ranlib support more than one input file. Implement this. While here, update OVERVIEW (Ranlib => ranlib) since "ranlib" is more common. Remove "speed access" since the index has nothing to do with performance: it is mandatory for GNU ld and gold but ignored for ld.lld (D119074). Close https://github.com/llvm/llvm-project/issues/54565 Differential Revision: https://reviews.llvm.org/D131375
-
Benjamin Kramer authored
-
Adrian Vogelsgesang authored
Implements part of P1614R2 "The Mothership has Landed" Differential Revision: https://reviews.llvm.org/D130861
-
Mehdi Amini authored
-
Simon Pilgrim authored
Confirmed with @andreadb - repeated PM.LoadQueue->getLoc() should have been PM.StoreQueue->getLoc() Found by coverity
-
Rajas Vanjape authored
Currently, dense tensors are initialized in Sparse Integration tests using "buffer.tensor_alloc and scf.for" . This makes code harder to read and maintain. This diff uses tensor.generate instead to initialize dense tensors. Testing: Ran integration tests after building with -DLLVM_USE_SANITIZER=Address flag. Reviewed By: springerm Differential Revision: https://reviews.llvm.org/D131404
-
Tarun Prabhu authored
This fixes issue #56706. Differential Revision: https://reviews.llvm.org/D130590
-
Craig Topper authored
The floating point stores use a different register class, it probably makes sense to have a different SchedRead. Reviewed By: monkchiang Differential Revision: https://reviews.llvm.org/D131379
-
Simon Pilgrim authored
[DAG] canCreateUndefOrPoison - add freeze(bswap(x)) -> bswap(freeze(x)) and freeze(bitreverse(x)) -> bitreverse(freeze(x)) support Both are guaranteed not to create undef/poison
-
lorenzo chelini authored
TiledLoopOp has been removed in: https://github.com/llvm/llvm-project/commit/1a829d2d06958abf09bb6aff81120959206887f6 Reviewed By: ftynse Differential Revision: https://reviews.llvm.org/D131383
-
Benjamin Kramer authored
-
Lei Zhang authored
This commit updates all SPIR-V enum definitions to match the latest specification (v1.6 revision 2). Along the way, fixed some issues in `gen_spirv_dialect.py` and added a new script for refreshing all op definitions for such cases. Reviewed By: kuhar Differential Revision: https://reviews.llvm.org/D131293
-
Fangrui Song authored
With C++17 there is no Clang pedantic warning or MSVC C5051. Reviewed By: aaron.ballman Differential Revision: https://reviews.llvm.org/D131346
-
Jon Chesterfield authored
-
Ron Lieberman authored
-
Slava Gurevich authored
Current application of bitwise-OR to a binary mask always results in True, which seems inconsistent with the intent of the statement, a likely typo. Differential Revision: https://reviews.llvm.org/D131312
-
- Aug 08, 2022
-
-
Nico Weber authored
No behavior change. Differential Revision: https://reviews.llvm.org/D131403
-
Nico Weber authored
Like D131354, but for COFF. No behavior change. Differential Revision: https://reviews.llvm.org/D131405
-
Simon Pilgrim authored
[DAG] canCreateUndefOrPoison - add freeze(sext(x)) -> sext(freeze(x)) and freeze(zext(x)) -> zext(freeze(x)) support Both are guaranteed not to create undef/poison
-
Michał Górny authored
Make constructors of the Process and its subclasses class protected, to prevent accidentally constructing Process on stack when it could be afterwards accessed via a shared_ptr (since it uses std::enable_shared_from_this<>). The only place where a stack allocation was used were unittests, and fixing them via declaring an explicit public constructor in the respective mock classes is trivial. Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.llvm.org/D131275
-
Aaron Ballman authored
WG14 N3047 is the last C working draft before the document goes out for committee ballot, so this should be the last of the C2x compiler features to be added.
-
Jon Chesterfield authored
-