- Jun 16, 2023
-
-
Amir Ayupov authored
Align perf reader to fdata behavior by sorting BranchData after reading samples, in the same way as DataReader: https://github.com/llvm/llvm-project/blob/20c66a0c66340f44f04b6526e45bcc5d872d480a/bolt/lib/Profile/DataReader.cpp#L1239 Namely, that order affects CallSiteInfo annotations which determine the construction order of CallGraph, which in turn affects function reordering. Reviewed By: #bolt, rafauler Differential Revision: https://reviews.llvm.org/D152731
-
Craig Topper authored
Recommit "[SelectionDAG][RISCV] Add very basic PromoteIntegerResult/Op support for VP_SIGN/ZERO_EXTEND." I have fixed an existing DAGCombiner bug that caused the previous assertion failure. See 71635394. Original message We don't have VP_ANY_EXTEND or VP_SIGN_EXTEND_INREG yet so I've deviated a little from the non-VP lowering. My goal was to fix the crashes that occurs on these test cases without this patch. Reviewed By: fakepaper56 Differential Revision: https://reviews.llvm.org/D152854
-
Fangrui Song authored
-
Mehdi Amini authored
-
Fangrui Song authored
-
Craig Topper authored
[DAGCombiner] When combining (sext_inreg (zext X), VT) -> (sext X) don't pass along the sext_inreg VT. ISD::SIGN_EXTEND is only supposed to have one operand, but we were creating it with 2 operands. Since we basically never check for extra operands this went unnoticed.
-
Zequan Wu authored
-
Louis Dionne authored
After the Black reformatting changes, the code became pretty hard to read and inconsistently formatted. This fixes that. Differential Revision: https://reviews.llvm.org/D152839
-
Fangrui Song authored
-
Spenser Bauman authored
The existing lowering for tosa.concat fails in some instances when the output shape contains more information the input shapes. The result is an illegal tensor.empty operation. This change bases the output shape on the original tosa.concat operation, while querying the input tensor shapes to build the slicing operations. Reviewed By: rsuderman Differential Revision: https://reviews.llvm.org/D151707
-
Fangrui Song authored
-
Joseph Huber authored
These tests have a single line that fails with a value off-by-one, see https://lab.llvm.org/buildbot/#/builders/46/builds/50055/steps/12/logs/stdio . Disable these for now so we can figure out what the error is later. Reviewed By: lntue Differential Revision: https://reviews.llvm.org/D153056
-
Nikolas Klauser authored
Reviewed By: #libc, ldionne Spies: ldionne, libcxx-commits Differential Revision: https://reviews.llvm.org/D152853
-
Stanislav Mekhanoshin authored
Check superreg/subreg defs of an instruction when checking for dependencies. This may cause some regressions, but better be safe than sorry. Changed tests are affected because of the implicit-defs of the superregs. Differential Revision: https://reviews.llvm.org/D152943
-
Rob Suderman authored
We always assume mixed same type values. Instead of ExtF or ExtSI, we need SIToFp when the values must be promoted. Reviewed By: dcaballe Differential Revision: https://reviews.llvm.org/D152982
-
Nikolas Klauser authored
Reviewed By: #libc, ldionne Spies: power-llvm-team, ldionne, libcxx-commits, arichardson, mstorsjo Differential Revision: https://reviews.llvm.org/D152939
-
Alex Langford authored
I want to add some error handling to DynamicRegisterInfo because there are many operations that can fail and many of these operations do not give meaningful information back to the caller. To begin that process, I want to add a static method that is responsible for creating a DynamicRegisterInfo from a StructuredData::Dictionary (and ArchSpec). This is meant to replace the equivalent constructor because constructors are ill-equipped to perform error handling. Differential Revision: https://reviews.llvm.org/D152594
-
rikhuijzer authored
As pointed out by @Sinclair-Dee in https://github.com/llvm/llvm-project/issues/62304, the `tosa-to-linalg` conversion ignored the `encoding` attribute. Also, this patch avoids an assertion error crash on unranked tensors. Instead, the conversion now throws a "failed to legalize" error. Fixes #62304 and fixes #63165. Reviewed By: mehdi_amini Differential Revision: https://reviews.llvm.org/D152171
-
Kun Wu authored
Reviewed By: aartbik Differential Revision: https://reviews.llvm.org/D152966
-
eopXD authored
Depends on D152138. This is the 6th commit of the patch-set. This patch makes the indexed segment store intrinsics to use tuple types. Reviewed By: rogfer01 Differential Revision: https://reviews.llvm.org/D152139
-
eopXD authored
Depends on D152137. This is the 5th commit of the patch-set. This patch makes the indexed segment load intrinsics to use tuple types. Reviewed By: rogfer01 Differential Revision: https://reviews.llvm.org/D152138
-
eopXD authored
Depends on D152136. This is the 4th commit of the patch-set. This patch makes the strided segment store intrinsics to use tuple types. Reviewed By: rogfer01 Differential Revision: https://reviews.llvm.org/D152137
-
eopXD authored
Depends on D152135. This is the 3rd commit of the patch-set. This patch makes the strided segment load intrinsics to use tuple types. Reviewed By: rogfer01 Differential Revision: https://reviews.llvm.org/D152136
-
eopXD authored
Depends on D152134. This is the 2nd commit of the patch-set. This patch makes the unit-stride segment store intrinsics to use tuple types. Reviewed By: rogfer01 Differential Revision: https://reviews.llvm.org/D152135
-
eopXD authored
Depends on D152079. This patch-set aims to replace the existing segment load/store intrinsics with tuple-type segment load/store intrinsics. That is, we are removing in the segment load/store intrinsics. This is the 1st commit of the patch-set. This patch makes the unit-stride segment load intrinsics and unit-stride fault-first segment load intrinsics to use tuple types. Reviewed By: rogfer01 Differential Revision: https://reviews.llvm.org/D152134
-
Vladislav Dzhidzhoev authored
Revert "Reland "[DebugMetadata][DwarfDebug] Fix DWARF emisson of function-local imported entities (3/7)"" This reverts commit fcc39816, since Bitcode-upgrading code doesn't seem to be deterministic.
-
Fangrui Song authored
The left/right shift linker script operators may trigger UB. E.g. in linkerscript/end-overflow-check.test, the initial REGION1__PADDED_SR_SHIFT is uint64_t(-3), cause the following expression to trigger an out-of-range shift in a ubsan build of lld. REGION1__PADDED_SR_SIZE = MAX(1 << REGION1__PADDED_SR_SHIFT, 32); Protect such UBs by making RHS less than 64. -
Peiming Liu authored
Reviewed By: aartbik Differential Revision: https://reviews.llvm.org/D152761
-
Noah Goldstein authored
When D152728 hoisted the code to a helper function, it moved the call to the helper outside of `foldICmpEquality`, so an equality check is needed in the helper. Reviewed By: nikic, fhahn Differential Revision: https://reviews.llvm.org/D153041
-
Alan Zhao authored
Revert "[SelectionDAG][RISCV] Add very basic PromoteIntegerResult/Op support for VP_SIGN/ZERO_EXTEND." This reverts commit 6bf79fb0. Reason: causes Clang to crash during Chrome debug builds: https://crbug.com/1455144
-
Matt Arsenault authored
-
Aaron Ballman authored
This updates the definition for ExplicitSpecifier and DeclarationNameExtra.
-
Mehdi Amini authored
The MLIR LSP server initially had plans to support running passes from the client, but this was never implemented. The doc unnecessarily advise to register passes and makes reference to LSP server having some interaction with passes. Differential Revision: https://reviews.llvm.org/D153046
-
Shubham Sandeep Rastogi authored
The first test, dwarf5-macho.test checks to make sure that dsymutil generates the correct headers and sections for a macho binary with DWARF v5 in it. The second test, dwarf5-dwarf4-combination-macho.test checks that dsymutil generates the correct headers and sections for a macho binary with which was linked with one object file with DWARF v4 and the other with DWARF v5 in it. Differential Revision: https://reviews.llvm.org/D151932
-
Felipe de Azevedo Piovezan authored
The current implementation was ignoring the possibility of collisions. Differential Revision: D152586
-
Keith Smiley authored
As of Xcode 15 there is now a tool ID for LLD, likely driven by Apple's tests with using LLD for their CAS work in clang. This updates LLD to use the correct ID, and updates the object library so that llvm-objdump prints it correctly. Differential Revision: https://reviews.llvm.org/D152929
-
Felipe de Azevedo Piovezan authored
Committed a slightly older patch without the proper link to the review. This reverts commit 42874f66.
-
Felipe de Azevedo Piovezan authored
The current implementation was ignoring the possibility of collisions.
-
Nico Weber authored
-
Nico Weber authored
-