- Oct 07, 2022
-
-
Alex Brachet authored
Differential Revision: https://reviews.llvm.org/D135340
-
Peter Klausler authored
When a generic interface in a module shadows a procedure of the same name that has been brought into scope via USE association, ensure that that USE association is not lost when the module file is written. Differential Revision: https://reviews.llvm.org/D135207
-
Peter Klausler authored
f18 emits an error message when the same name is used in a scope for both a procedure and a generic interface, and the procedure is not a specific procedure of the generic interface. It may be questionable usage, and not portable, but it does not appear to be non-conforming by a strict reading of the standard, and many popular Fortran compilers accept it. Differential Revision: https://reviews.llvm.org/D135205
-
Peter Klausler authored
The implementation of the folding code for SET_EXPONENT() was written in such a fashion as to convert the I= actual argument value to a 32-bit integer. Which is usually not a problem, but it's not always correct and a test case ran into trouble with it. Fix to allow any kind of INTEGER without conversion. Differential Revision: https://reviews.llvm.org/D135203
-
Joao Moreira authored
Clang may optimize conditional tailcall blocks with the following layout: cmp <condition> je tailcall_target ret When retpoline is in place, indirect calls are converted into direct calls to a retpoline thunk. When these indirect calls are tail calls, they may be subject to the above described optimization (there is no indirect JCC, but since now the jump is direct it can be made conditional). The above layout is non-ideal for the Linux kernel scenario because the branches into thunks may be patched back into indirect branches during runtime depending on the underlying CPU features, what would not be feasible if the binary is emitted with the optimized layout above. Thus, prevent clang from emitting this it if CodeModel is Kernel. Feature request from the respective kernel mailing list: https://lore.kernel.org/llvm/Yv3uI%2FMoJVctmBCh@worktop.programming.kicks-ass.net/ Reviewed By: nickdesaulniers, pengfei Differential Revision: https://reviews.llvm.org/D134915
-
Craig Topper authored
-
Bill Wendling authored
-
Bjorn Pettersson authored
The limitation in LibCallSimplifier::optimizeStringLength to only optimize when the string is an i8 array was changed already in commit 50ec0b5d back in 2017. We still only simplify when 's' points at an array of 'CharSize', so the comment is still valid in the sense that we do not support arbitrary array types. Differential Revision: https://reviews.llvm.org/D135261
-
Craig Topper authored
Some tests had scalable vector intrinsic names with fixed vector types. Some had types in the wrong order. Remove scalable vector test from fixed vector files. Also replace insert+shuffle constexprs with fixed constant vectors.
-
Son Tuan Vu authored
This patch introduces support for default values of list of CL options. It fixes the issue in https://github.com/llvm/llvm-project/issues/52667 Reviewed By: bkramer Differential Revision: https://reviews.llvm.org/D135311
-
Bill Wendling authored
Use enums for the strict flex arrays flag so that it's more readable. Differential Revision: https://reviews.llvm.org/D135107
-
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
-