- Jun 14, 2022
-
-
Mitch Phillips authored
This reverts commit e7766972. Broke the Windows buildbots.
-
owenca authored
Call mightFitOneOneline() on the line before the closing brace only if it is at the level of the block. Differential Revision: https://reviews.llvm.org/D127614
-
Zequan Wu authored
-
Zequan Wu authored
-
Zequan Wu authored
[LLDB][NativePDB] Convert backslash to slash when creating CU and filter out CU with no function in ResolveSymbolContext. On Windows, when compile with -fdebug-compilation-dir which contains slash, the source file path in PDB will look like "../tmp\file.cc" because the path separator used is determined by target machine. Converting backslash to slash helps lldb to find the CU in ResolveSymbolContext. We want to filter out CU with no function in ResolveSymbolContext as a cpp file will have two debug info modules in PDB if built with thinlto and one of them is a skeleton with no function debug info.
-
Stephen Long authored
Previously, /FAsc would emit a warning. Now, it will just do what /FA does. https://docs.microsoft.com/en-us/cpp/build/reference/fa-fa-listing-file?view=msvc-170 Reviewed By: hans Differential Revision: https://reviews.llvm.org/D127519
-
Peter Klausler authored
The restrictions on the relationship between a "kP" scale factor and a Ew.d/Dw.d/Gw.d significant digit count are not enforced for output editing when there is no nonzero scale factor in effect. (An error message about a bad scale factor is confusing if no kP control edit descriptor has been used.) Document this usage in Extensions.md. Differential Revision: https://reviews.llvm.org/D127435
-
Philip Reames authored
-
Benjamin Kramer authored
So it doesn't disappear when running the generator.
-
Peter Klausler authored
The scope model used for branch target checking treats a label on an END SELECT statement as if it were in the previous CASE block. This makes it illegal to GO TO that label from within any earlier CASE block in that statement. Fix by treating the CASE blocks as nested scopes within the scope of the SELECT construct. Also, add a "warning:" tag to related warning messages. Differential Revision: https://reviews.llvm.org/D127425
-
Craig Topper authored
Recommit "[RISCV] Teach RISCVMergeBaseOffset about cases where we use SHXADD to add some immediates." With fix for sanitizer build bot failure.
-
Peter Klausler authored
The calculation of the source index was incorrect when a CSHIFT shift count value is negative, for the implementation of CSHIFT for arrays with rank >= 2. (The vector CSHIFT is fine.) Differential Revision: https://reviews.llvm.org/D127424
-
Stephen Tozer authored
One of the tests added in the recent floating point patch involves string comparison against the debugger output; as DbgEng and LLDB have different output, the test cannot pass against both of them, so disable it on windows.
-
Stephen Long authored
https://docs.microsoft.com/en-us/cpp/build/reference/external-external-headers-diagnostics?view=msvc-170 Reviewed By: hans Differential Revision: https://reviews.llvm.org/D127452
-
Peter Klausler authored
When an I/O statement is known to be in a recoverable error state, it shouldn't cause a crash later in execution because it's not in an expected non-erroneous processing state. Add checking for the ErroneousIoStatementState variant on paths that might otherwise lead to runtime crashes. Differential Revision: https://reviews.llvm.org/D127423
-
Mitch Phillips authored
This patch adds generation of sanitizer metadata attributes (which were added in D126100) to the clang frontend. We still currently generate the `llvm.asan.globals` that's consumed by the IR pass, but the plan is to eventually migrate off of that onto purely debuginfo and these IR attributes. Reviewed By: vitalybuka, kstoimenov Differential Revision: https://reviews.llvm.org/D126929
-
Stephen Tozer authored
A pair of tests had incorrect expectations set, one being an off-by-one error and the other using decimal points in the expect that lldb omits.
-
Jez Ng authored
Should fix the test failure introduced by D124561.
-
Thomas Raoux authored
This reverts commit 1c84800c. This was causing asan crash.
-
Peter Klausler authored
The little state machine in GetNextDataEdit() wasn't transitioning properly from reading the imaginary part of the number back to the real part for the next iteration of a repeated value. Differential Revision: https://reviews.llvm.org/D127422
-
Nico Weber authored
See revision b8b7a9dc for prior art. Reland of: 4463bd0f since the dependent patch D126340 is also relanding.
-
David Tenty authored
The option mdefault-visibility-export-mapping is created to allow mapping default visibility to an explicit shared library export (e.g. dllexport). Exactly how and if this is manifested is target dependent (since it depends on how they map dllexport in the IR). Three values are provided for the option: * none: the default and behavior without the option, no additional export linkage information is created. * explicit: add the export for entities with explict default visibility from the source, including RTTI * all: add the export for all entities with default visibility This option is useful for targets which do not export symbols as part of their usual default linkage behaviour (e.g. AIX), such targets traditionally specified such information in external files (e.g. export lists), but this mapping allows them to use the visibility information typically used for this purpose on other (e.g. ELF) platforms. This relands commit: 8c8a2679 with fixes for the compile time and assert problems that were reported by: * making shouldMapVisibilityToDLLExport inline and provide an early return in the case where no mapping is in effect (aka non-AIX platforms) * don't try to export RTTI types which we will give internal linkage to Reviewed By: MaskRay Differential Revision: https://reviews.llvm.org/D126340
-
Peter Klausler authored
Track pending "asynchronous" I/O operation IDs so that WAIT statements can report errors about bad ID numbers. Lowering will need to extended to call GetAsynchronousId() for a READ or WRITE statement with ID=n. Differential Revision: https://reviews.llvm.org/D127421
-
Luís Ferreira authored
D120690 introduced `eBasicTypeChar8` but missed proper documentation order. This also introduces the missing bindings data on Swig, which should correspond with the documented information. Reviewed By: labath Differential Revision: https://reviews.llvm.org/D116136
-
Peter Klausler authored
When nonadvancing output uses T/TL control edit descriptors to reposition the record, don't reset the position to the furthest point written at the end of the write. Differential Revision: https://reviews.llvm.org/D127420
-
Amir Ayupov authored
Fix bolt-x86_64-wine-msvc builder: https://lab.llvm.org/buildbot/#/builders/222/builds/1154 Reviewed By: maksfb Differential Revision: https://reviews.llvm.org/D127612
-
Mitch Phillips authored
This reverts commit 8bbcb988. Broke the UBSan bot. More details in https://reviews.llvm.org/D127376.
-
Lei Zhang authored
We cannot directly use the original result type; instead we need to deduce it from the converted operand type. This addresses invalid ops generated from converting single element vectors. Reviewed By: ThomasRaoux Differential Revision: https://reviews.llvm.org/D127574
-
Lei Zhang authored
This avoids pulling in function converion patterns, which is not part of what we want to test in ArithmeticToSPIRV. It also allows using ConvertArithmeticToSPIRVPass as a standalone step. Reviewed By: ThomasRaoux Differential Revision: https://reviews.llvm.org/D127573
-
Mitch Phillips authored
This reverts commit b8f94597. Broke the ASan buildbot. See https://reviews.llvm.org/D126781 for more information.
-
Mitch Phillips authored
This reverts commit 0ecbedc0. Parent change broke the ASan buildbot. See https://reviews.llvm.org/D126781 for more information.
-
Lei Zhang authored
Reviewed By: ThomasRaoux Differential Revision: https://reviews.llvm.org/D127582
-
Valentin Clement authored
Add TODO for KIND=2 so the user is notified correctly. This patch is part of the upstreaming effort from fir-dev branch. Reviewed By: jeanPerier, PeteSteinfeld Differential Revision: https://reviews.llvm.org/D127619 Co-authored-by:
Peter Steinfeld <psteinfeld@nvidia.com>
-
Simon Pilgrim authored
[X86] combineEXTEND_VECTOR_INREG - don't attempt to shuffle combine ANY_EXTEND_VECTOR_INREG without SSE41 Without SSE41, ANY_EXTEND_VECTOR_INREG nodes are likely to be prematurely combined to a target shuffle preventing generic sign extension folds. Fixes a number of sign-extend regressions in D127115.
-
Stanislav Mekhanoshin authored
This uses rotating reminder of division by 3 to select another temp vgpr each next time in a sequence of several agpr copies. Therefore, temp vgpr selection depends on the generated agpr number. This number could change with any unrelated change to the register definitions. Stabilize the selection by using a real agpr number. Differential Revision: https://reviews.llvm.org/D127524
-
Thomas Raoux authored
Add patterns to propagate vector distribution and remove dead arguments. This handles propagation for several vector operations. Differential Revision: https://reviews.llvm.org/D127167
-
Kiran Chandramohan authored
Loop variables of a worksharing loop and sequential loops in parallel region are privatised by default. These variables are marked with OmpPreDetermined. Skip explicit privatisation of these variables. Note: This is part of upstreaming from the fir-dev branch of https://github.com/flang-compiler/f18-llvm-project. Reviewed By: Leporacanthicus Differential Revision: https://reviews.llvm.org/D127249 Co-authored-by:
Jean Perier <jperier@nvidia.com> Co-authored-by:
Mats Petersson <mats.petersson@arm.com>
-
Mogball authored
All dialect targets in bazel have been named *Dialect and all dialect targets in CMake have been named MLIR*Dialect.
-
Lei Zhang authored
This addresses the warning of unused template argument.
-
Lei Zhang authored
Reviewed By: ThomasRaoux, hanchung Differential Revision: https://reviews.llvm.org/D127572
-