- Oct 07, 2022
-
-
Arthur Eubanks authored
This reverts commit cd8f3e75. Causes miscompiles, see D132657
-
Aaron Ballman authored
-
Florian Hahn authored
-
Sanjay Patel authored
(X * Y) s/ (X << Z) --> Y s/ (1 << Z) https://alive2.llvm.org/ce/z/yRSddG issue #58137
-
Sanjay Patel authored
issue #58137
-
Ben Langmuir authored
Make the empty headers used by cl-pch-showincludes.cpp unique so that filesystems that link these files together by contents will not see different behaviour in this test, which is not testing linked files specifically. This was uncovered by 5ea78c41 which made us stop mutating the name of the presumed loc for the file in ContentCache, but that just surfaced an underlying issue that the filename of multiple includes of linked files are not separately tracked. Differential Revision: https://reviews.llvm.org/D135373
-
Florian Hahn authored
-
Gulfem Savrun Yeniceri authored
This patch adds support of printing profile version into llvm-profdata which was proposed in: https://discourse.llvm.org/t/llvm-profdata-failure-guarantees-for-code-coverage/64924 Differential Revision: https://reviews.llvm.org/D135317
-
bixia1 authored
Reviewed By: aartbik Differential Revision: https://reviews.llvm.org/D135182
-
Erich Keane authored
isFileContext is exactly equal to these two, so simplify the function.
-
Ivan Tetyushkin authored
Optimization for using compressed beqz and bnez If there is pattern ``` br_cc val1 constval eq/neq place select_cc val1 constval eq/neq trueval falseval ``` and constval does not fit in compressed imm format(6 bit), but fit in imm format(12 bit), we can replace by non compress sub and compress c.beqz/c.bneqz: ``` addi val val -constval c.beqz val place ``` Reviewed By: craig.topper Differential Revision: https://reviews.llvm.org/D132839
-
Shubham Sandeep Rastogi authored
This reverts commit 00089904.
-
Ellis Hoag authored
There can be lots of `MDTuple` debug metadata nodes. For example, `globals: !{!1, !2}` in `!DICompileUnit()`. Search through all debug info to find `MDTuple`'s and remove some of their elements. For D135114 I was able to get a reproducer with 364 lines without manually deleting elements. After this patch I got it down to 67 lines. Reviewed By: dblaikie Differential Revision: https://reviews.llvm.org/D135237 -
Shubham Sandeep Rastogi authored
Differential Revision: https://reviews.llvm.org/D134817
-
Florian Hahn authored
Extend more general matching used for chains of ORs to also support chains of ANDs.
-
Valentin Clement authored
Update the `fir.dispatch` operation to prepare the lowering part. `nopass` and `pass_arg_pos` attributes are added in the arguments list so accessors are generated by MLIR tablegen. A verifier is added as well as some tests. This patch is part of the implementation of the poltymorphic entities. https://github.com/llvm/llvm-project/blob/main/flang/docs/PolymorphicEntities.md Reviewed By: jeanPerier, PeteSteinfeld Differential Revision: https://reviews.llvm.org/D135358
-
Petr Hosek authored
This module is used to find the system zstd library. The imported targets intentionally use the same name as the generate zstd config CMake file so these can be used interchangeably. Differential Revision: https://reviews.llvm.org/D134990
-
LLVM GN Syncbot authored
-
- Oct 06, 2022
-
-
Sam McCall authored
-
Tyker authored
Prior to this patch FixedPointSemantics and APFixedPoint only support semantics where the Scale larger or equal to zero and the Width is larger or equal to the Scale. This patch removes both those requirements while staying API compatible.
-
Peter Steinfeld authored
Rather than crashing in llvm code, nip things in the bud. Differential Revision: https://reviews.llvm.org/D135321
-
bixia1 authored
Reviewed By: aartbik Differential Revision: https://reviews.llvm.org/D135077
-
Sanjay Patel authored
(X * Y) u/ (X << Z) --> Y u>> Z https://alive2.llvm.org/ce/z/4G9D_W
-
Sanjay Patel authored
-
Pavel Labath authored
This ensures it is run regardless of the method we use to initiate the session (previous version did not handle connects), and it is the same place that is used for resetting watchpoints. Differential Revision: https://reviews.llvm.org/D134882
-
Pavel Labath authored
Use our "rich error" facility to propagate error reported by the stub to the user. lldb-server reports rich launch errors as of D133352. To make this easier to implement, and reduce code duplication, I have moved the vRun/A/qLaunchSuccess handling into a single GDBRemoteCommunicationClient function. Differential Revision: https://reviews.llvm.org/D134754
-
Sam McCall authored
Production profiles show that generateProximityURIs is roughly 3.8% of buildPreamble. Of this, the majority (3% of buildPreamble) is parsing and reserializing URIs. We can do this with ugly string manipulation instead. Differential Revision: https://reviews.llvm.org/D135226
-
Sam McCall authored
Different loop termination conditions resulted in confusion of whether *Offset was intended to be inside or outside the token. This ultimately led to constructing an out-of-range SourceLocation. Fix by making Offset consistently point *after* the token. Differential Revision: https://reviews.llvm.org/D135356
-
Philip Reames authored
This changes the default value used for mask policy from mask undisturbed to mask agnostic. In hardware, there may be a minor preference for ta/ma, but since this is only going to apply to instructions which don't use the mask policy bit, this is functionally mostly a nop. The main value is to make future changes to using MA when legal for masked instructions easier to review by reducing test churn. The prior code was motivated by a desire to minimize state transitions between masked and unmasked code. This patch achieves the same effect using the demanded field logic (landed in afb45ffc), and there are no regressions I spotted in the test diffs. (Given the size, I have only been able to skim.) I do want to call out that regressions are possible here; the demanded analysis only works on a block local scope right now, so e.g. a tight loop mixing masked and unmasked computation might see an extra vsetvli or two. Differential Revision: https://reviews.llvm.org/D133803
-
Nikolas Klauser authored
Reviewed By: ldionne, #libc, huixie90 Spies: huixie90, libcxx-commits, mgorny Differential Revision: https://reviews.llvm.org/D131898
-
Florian Hahn authored
Make sure conditions with constant operands come before conditions without constant operands. This increases the effectiveness of the current signed <-> unsigned fact transfer logic.
-
Bjorn Pettersson authored
-
Joseph Huber authored
The new driver supports LTO for RDC-mode compilations. However, this was not correctly handled for non-LTO compilations. HIP can handle this as it is fed to `lld` which will perform the LTO itself. CUDA however would require every work which is wholly useless in non-RDC mode so it should report an error. Reviewed By: yaxunl Differential Revision: https://reviews.llvm.org/D135305
-
Tobias Gysi authored
The revision renames some methods of the Importer and changes the error handling to be closer the ModuleTranslation. In particular, processValue -> lookupValue and processType -> convertType now fail if the translation fails (instead of returning an error), which simplifies the error handling. The revision prepares a follow up commit that will import LLVMIR intrinsics using tablegen. Reviewed By: ftynse Differential Revision: https://reviews.llvm.org/D135349
-
oToToT authored
-
Philip Reames authored
Differential Revision: https://reviews.llvm.org/D135327
-
Michał Górny authored
Add LLVM_ENABLE_ZSTD to llvm_canonicalize_cmake_booleans(). This is needed to ensure that the substitutions in lit.site.cfg.py resolve to correct Python booleans. Differential Revision: https://reviews.llvm.org/D135357
-
Aaron Ballman authored
We would issue the same diagnostic twice in the case that the K&R C function definition is preceded by a static declaration of the function with a prototype. Fixes #58181
-
Utkarsh Saxena authored
-
Florian Hahn authored
-