- May 10, 2022
-
-
Amaury Séchet authored
This cleans up tech debt. Similar to D33390 . Reviewed By: Kmeakin Differential Revision: https://reviews.llvm.org/D125150
-
Peter Klausler authored
Functions returning ALLOCATABLE or POINTER arrays have descriptor inquiries in their results' shape expressions that won't compare equal. These functions need only be checked for compatible ranks (& of course other characteristics). Differential Revision: https://reviews.llvm.org/D125123
-
Peter Klausler authored
The utility UnwrapConvertedExpr() was failing to unwrap a converted TypeParamInquiry operation when called from runtime derived type description table construction, leading to an abort in semantics. Differential Revision: https://reviews.llvm.org/D125119
-
Michael Kruse authored
-
Peter Klausler authored
Structure contructors for instances of parameterized derived types must have their components' values folded in the context of the values of the type parameters. Differential Revision: https://reviews.llvm.org/D125116
-
Greg Clayton authored
A previous commit enabled LLDB to be able to debug a program launched via ld: https://reviews.llvm.org/D108061. This commit adds the ability to debug a program launched via ld when it happens during an exec into the dynamic loader. There was an issue where after the exec we would locate the rendezvous structure right away but it didn't contain any valid values and we would try to set the dyanamic loader breakpoint at address zero. This patch fixes that and adds a test. Differential Revision: https://reviews.llvm.org/D125253
-
LLVM GN Syncbot authored
-
Walter Erquinigo authored
I'm refactoring IntelPTThreadTrace into IntelPTSingleBufferTrace so that it can both single threads or single cores. In this diff I'm basically renaming the class, moving it to its own file, and removing all the pieces that are not used along with some basic cleanup. Differential Revision: https://reviews.llvm.org/D124648
-
Walter Erquinigo authored
This updates the documentation of the gdb-remote protocol, as well as the help messages, to include the new --per-core-tracing option. Differential Revision: https://reviews.llvm.org/D124640
-
Mathieu Fehr authored
Merge the documentation of the definition of extensible dialects with the definition of dialects. Reviewed By: rriddle Differential Revision: https://reviews.llvm.org/D125200
-
Peter Klausler authored
Actual arguments whose lengths are less than the expected length of their corresponding dummy argument are errors; but this needs to be refined. Short actual arguments that are variables remain errors, but those that are expressions can be (again) extended on the right with blanks. Differential Revision: https://reviews.llvm.org/D125115
-
Nico Weber authored
-
River Riddle authored
This prevents races where we accidentally launched multiple servers.
-
Peter Klausler authored
The construction of the dimension order vector used to populate the result array was incorrect, leading to a scrambled-looking result for rank-3 and higher results. Fix, and extend tests. Differential Revision: https://reviews.llvm.org/D125113
-
Hongtao Yu authored
When a callee function is inlined via an invoke instruction, every function call inside the callee, if not an invoke, will be converted to an invoke after cloned to the caller body. I found that during the conversion the !prof metadata was dropped. This in turned caused a cloned indirect call not properly promoted in subsequent passes. The particular scenario I was investigating was with AutoFDO and thinLTO. In prelink, no ICP was triggered (neither by the sample loader nor PGO ICP), no indirect call was promoted. This is because 1) the particular indirect call did not have inlined samples; and 2) PGO ICP was intentionally disabled. After inlining, the prof metadata was dropped. Then in postlink, PGO ICP jumped in but didn't do anything. Thus the opportunity was missed. I'm making a simple fix to preserve !prof metadata when converting call to invoke. Reviewed By: davidxl Differential Revision: https://reviews.llvm.org/D125249
-
Peter Klausler authored
The standard requires that the operands of the intrinsic function SIGN() must have the same type (INTEGER or REAL), but they are not required to have the same kind. Differential Revision: https://reviews.llvm.org/D125105
-
Florian Mayer authored
Also enable on X86_64. The directory would change during the test execution. This should not necessarily prevent us from indexing a directory (a user might potentially do that if they specify a parent directory of the actual symbols directory, and change unrelated files). Reviewed By: eugenis Differential Revision: https://reviews.llvm.org/D125143
-
Michael Kruse authored
This fixes the polly-*-plugin buildbots.
-
Peter Klausler authored
The related real number system inquiry functions SPACING() and RRSPACING() can be folded for constant arguments. See 16.9.164 & 16.9.180 in Fortran 2018. Differential Revision: https://reviews.llvm.org/D125100
-
Alexey Bataev authored
This reverts commit 99f31acf and several others to fix detected crashes, reported in https://reviews.llvm.org/D115750
-
Peter Klausler authored
When the result can be known at compilation time, fold it. Success depends on whether the operands are polymorphic. When neither one is polymorphic, the result is known and can be either .TRUE. or .FALSE.; when either one is polymorphic, a .FALSE. result still can be discerned. Differential Revision: https://reviews.llvm.org/D125062
-
Alexey Bataev authored
If the same scalar is inserted several times into the same buildvector, the mask index can be used already. In this case need to check, that this scalar is already part of the vectorized buildvector.
-
Peter Klausler authored
A BACKSPACE statement on a unit after a READ or WRITE with ADVANCE="NO" must reset the position to the beginning of the record, not to the beginning of the previous one. Differential Revision: https://reviews.llvm.org/D125057
-
Peter Klausler authored
I'm emitting zero characters for (G0) formatting of CHARACTER values instead of using their lengths to determine the output field width. Differential Revision: https://reviews.llvm.org/D125056
-
Peter Klausler authored
A repeated format item group with an unlimited ('*') repetition count can appear only as the last item at the top level of a format; it can't be nested in more parentheses and it can't be followed by anything else. Differential Revision: https://reviews.llvm.org/D125054 -
Peter Klausler authored
When formatted CHARACTER input runs into the end of an input record, the runtime usually fills the remainder of the variable with spaces, but this should be conditional, and not done when PAD='NO'. And while here, add some better comments to two members of connection.h to make their non-obvious relationship more clear. Differential Revision: https://reviews.llvm.org/D125053
-
Peter Klausler authored
The closing parenthesis needs to be consumed when a NaN with parenthesized (ignored) information is read on the real input path that preprocesses input characters before passing them to the decimal-to-binary converter. Differential Revision: https://reviews.llvm.org/D125048
-
Thomas Raoux authored
Add attribute to be able to generate the intrinsic version of async copy generating a copy with l1 bypass. This correspond to cp.async.cg.shared.global in ptx. Differential Revision: https://reviews.llvm.org/D125241
-
Florian Hahn authored
This reverts commit 8b482234. This triggers an assertion on a test case mentioned in D123720. Revert while I investigate.
-
Michael Kruse authored
Fix the warning warning: 'polly::ScopViewer' has virtual functions but non-virtual destructor [-Wnon-virtual-dtor] and for several other classes by inserting virtual destructors.
-
Michael Kruse authored
Reviewed By: Meinersbur Differential Revision: https://reviews.llvm.org/D123678
-
Michael Kruse authored
Rename the legacy `DOTGraphTraits{Module,}{Viewer,Printer}` to the corresponding `DOTGraphTraits...WrapperPass`, and implement a new `DOTGraphTraitsViewer` with new pass manager. Reviewed By: Meinersbur Differential Revision: https://reviews.llvm.org/D123677 -
Chris Bieneman authored
In supporting opaque pointers we need to re-materialize typed pointers in bitcode emission. Because of how the value-enumerator pre-allocates types and instructions we need to insert some no-op bitcasts in the places that we'll need bitcasts for the pointer types. Reviewed By: kuhar Differential Revision: https://reviews.llvm.org/D122269
-
Clemens Wasser authored
Inlining `LSAN_BASE` makes the lsan TestCases more consistent to the other sanitizer TestCases. It is also needed on Windows: https://reviews.llvm.org/D115103 Reviewed By: vitalybuka Differential Revision: https://reviews.llvm.org/D124322
-
Stella Stamenova authored
There are a couple of issues with the python bindings on Windows: - `create_symlink` requires special permissions on Windows - using `copy_if_different` instead allows the build to complete and then be usable - the path to the `python_executable` is likely to contain spaces if python is installed in Program Files. llvm's python substitution adds extra quotes in order to account for this case, but mlir's own python substitution does not - the location of the shared libraries is different on windows - if the type is not specified for numpy arrays, they appear to be treated as strings I've implemented the smallest possible changes for each of these in the patch, but I would actually prefer a slightly more comprehensive fix for the python_executable and the shared libraries. For the python substitution, I think it makes sense to leverage the existing %python instead of adding %PYTHON and instead add a new variable for the case when preloading is needed. This would also make it clearer which tests are which and should be skipped on platforms where the preloading won't work. For the shared libraries, I think it would make sense to pass the correct path and extension (possibly even the names) to the python script since these are known by lit and don't have to be hardcoded in the test at all. Reviewed By: stellaraccident Differential Revision: https://reviews.llvm.org/D125122
-
Pavel Labath authored
We default to that anyway. It does not work on windows, and since ac7747ef, the flag actually takes effect.
-
Pavel Labath authored
This matches what we do with CFLAGS, and it started to matter 8abfa511, which added some -std=-apending code.
-
Kazu Hirata authored
This patch clarifies the semantics of ADDCARRY/SUBCARRY, specifically stating that both the incoming and outgoing carries are active high. Differential Revision: https://reviews.llvm.org/D125130
-
Kai Nacke authored
The DAG node for the Test Data Class is defined using i64 as the second parameter. However, the code to lower is_fpclass uses `i32` as type. This only works because no type check is generated in the DAG matcher. This PR changes the type of the mask constant to `i64`. Reviewed By: uweigand Differential Revision: https://reviews.llvm.org/D125230
-
Arthur Eubanks authored
Matches the error message we emit with `-opt -O# --passes=foo`. Otherwise we crash later on. Makes #55320 much less confusing. Reviewed By: MaskRay Differential Revision: https://reviews.llvm.org/D125196
-