- Mar 02, 2022
-
-
Benjamin Kramer authored
-
Craig Topper authored
I copied the tests from neg-abs.ll and thought I removed all the negations.
-
Stephane Moore authored
Objective-C is officially hyphenated: https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/ObjectiveC/Introduction/introObjectiveC.html#//apple_ref/doc/uid/TP30001163 Reviewed By: mwyman, clayborg Differential Revision: https://reviews.llvm.org/D113616
-
Siva Chandra Reddy authored
-
rkayaith authored
This adds an option to configure the CMake python search priming behaviour that was introduced in D118148. In some environments the priming would cause the "real" search to fail. The default behaviour is unchanged, i.e. the search will be primed. Reviewed By: stellaraccident Differential Revision: https://reviews.llvm.org/D120765
-
Florian Mayer authored
Reviewed By: eugenis Differential Revision: https://reviews.llvm.org/D120102
-
Florian Mayer authored
Reviewed By: eugenis Differential Revision: https://reviews.llvm.org/D120437
-
Peter Klausler authored
The runtime crashes on several fundamental I/O data transfer statement control list errors, like list I/O on a direct-access unit, or input from a write-only unit, &c. These errors should not be fatal when ERR= or IOSTAT= are present. This patch creates a new ErroneousIoStatementState class and uses it for the state of an I/O statement that is doomed to fail from these errors. If there is no ERR= label or IOSTAT= variable, the error will be raised at the end of the statement. Data transfer operations along the way will be no-op failures. Differential Revision: https://reviews.llvm.org/D120745
-
Valentin Clement authored
This patch adds test for allocatable on the caller side. Lowering for missing features is added as well. This patch is part of the upstreaming effort from fir-dev branch. Depends on D120746 Reviewed By: PeteSteinfeld, schweitz Differential Revision: https://reviews.llvm.org/D120748 Co-authored-by:
Eric Schweitz <eschweitz@nvidia.com> Co-authored-by:
Jean Perier <jperier@nvidia.com>
-
Zequan Wu authored
-
Joseph Huber authored
Previously there was a debug flag to print the module after optimizations. Sometimes we wanted to print the module before optimizations so this is being split into two flags. `-openmp-opt-print-module` is now `-openmp-opt-print-module-after`. Reviewed By: jdoerfert Differential Revision: https://reviews.llvm.org/D120768
-
River Riddle authored
-
Valentin Clement authored
This patch adds couple of tests for allocatable on the callee side. Lowering for some missing underlying features is added as well. This patch is part of the upstreaming effort from fir-dev branch. Depends on D120744 Reviewed By: PeteSteinfeld, schweitz Differential Revision: https://reviews.llvm.org/D120746 Co-authored-by:
Eric Schweitz <eschweitz@nvidia.com> Co-authored-by:
Jean Perier <jperier@nvidia.com> Co-authored-by:
V Donaldson <vdonaldson@nvidia.com>
-
River Riddle authored
The remanants of Standard was renamed to Func, but the test directory remained named as Standard. In adidition to fixing the name, this commit also moves the tests for operations not in the Func dialect to the proper parent dialect test directory.
-
Duncan P. N. Exon Smith authored
Default the moves and delete the copies for TempFile, matching TempDir and TempLink, and add tests for all of them to confirm that the destructor is not harmful after it has been moved from. Differential Revision: https://reviews.llvm.org/D120691
-
Martin Storsjö authored
Previously, all the output from the tests were placed directly in the build directory. The tests produce a couple directories named `__config_{exec,cache,src}__` which are easy to distinguish, but the output from the individual tests are placed in subdirectories named `std` or `libcxx`. Especially the build output from libcxx tests ends up conflated in the same directories as are used for building libcxx with cmake. Differential Revision: https://reviews.llvm.org/D120479 -
Zequan Wu authored
Differential Revision: https://reviews.llvm.org/D120690
-
Valentin Clement authored
This patch enables dynamic array lowering and use the funcationality inside some IO tests. This patch is part of the upstreaming effort from fir-dev branch. Depends on D120743 Reviewed By: PeteSteinfeld, schweitz Differential Revision: https://reviews.llvm.org/D120744 Co-authored-by:
Eric Schweitz <eschweitz@nvidia.com> Co-authored-by:
Jean Perier <jperier@nvidia.com> Co-authored-by:
V Donaldson <vdonaldson@nvidia.com>
-
Krystian Kuzniarek authored
Follow up to 8f310d19. Differential Revision: https://reviews.llvm.org/D120618
-
Björn Schäpers authored
In the presence of pp branches we parse the token stream multiple times. Thus the token already has the type set. It's best just not to assert on any type in the parser. Fixes https://github.com/llvm/llvm-project/issues/54019 Differential Revision: https://reviews.llvm.org/D120621
-
Björn Schäpers authored
In the presence of pp branches we parse the token stream multiple times. Thus the token already has the type set. It's best just not to assert on any type in the parser. Fixes https://github.com/llvm/llvm-project/issues/54019 Differential Revision: https://reviews.llvm.org/D120512
-
Björn Schäpers authored
We have a little problem. TokenAnnotator::resetTokenMetadata() resets the type, except for a (growing) whitelist. This is because the TokenAnnotator visits some tokens multiple times. E.g. trying to identify if a < is an operator less or a template opener. And in some runs, which are bascially "reverted" the types are reset. On the other hand, if the parser does already know the type, it should be able to set it, without it being reset. So we introduce the ability to set a type and make that final. Differential Revision: https://reviews.llvm.org/D120511
-
David Tenty authored
AIX's system header provides these C++ overloads for compatibility with older XL C++ implementations, but they can be disabled by defining __LIBC_NO_CPP_MATH_OVERLOADS__ since AIX 7.2 TL 5 SP 3. Since D109078 landed clang will define this macro when using libc++ on AIX and we already run the lit tests with it too. This change will enable the overloads in libc++'s math.h and we'll continue to require the compiler to define the macro going forward. Reviewed By: ldionne, jsji, EricWF Differential Revision: https://reviews.llvm.org/D102172 co-authored-by:
Jason Liu <jasonliu.development@gmail.com>
-
Cameron McInally authored
Use PatFrags to commute the multiplication operands of an AArch64ISD::FMA_PRED node, allowing unpredicated FMLS instructions to match. Reviewed by: paulwalker-arm Differential Revision: https://reviews.llvm.org/D120570
-
Valentin Clement authored
This patch enables the lowering of the print, read and write IO statements. This patch is part of the upstreaming effort from fir-dev branch. Reviewed By: PeteSteinfeld, schweitz Differential Revision: https://reviews.llvm.org/D120743 Co-authored-by:
Eric Schweitz <eschweitz@nvidia.com> Co-authored-by:
Jean Perier <jperier@nvidia.com> Co-authored-by:
V Donaldson <vdonaldson@nvidia.com> Co-authored-by:
Kiran Chandramohan <kiran.chandramohan@arm.com>
-
Peter Klausler authored
An assumed-type actual argument that corresponds to an assumed-rank dummy argument shall be assumed-shape or assumed-rank. Differential Revision: https://reviews.llvm.org/D120750
-
River Riddle authored
The Func has a large number of legacy dependencies carried over from the old Standard dialect, which was pervasive and contained a large number of varied operations. With the split of the standard dialect and its demise, a lot of lingering dead dependencies have survived to the Func dialect. This commit removes a large majority of then, greatly reducing the dependence surface area of the Func dialect.
-
River Riddle authored
The last remaining operations in the standard dialect all revolve around FuncOp/function related constructs. This patch simply handles the initial renaming (which by itself is already huge), but there are a large number of cleanups unlocked/necessary afterwards: * Removing a bunch of unnecessary dependencies on Func * Cleaning up the From/ToStandard conversion passes * Preparing for the move of FuncOp to the Func dialect See the discussion at https://discourse.llvm.org/t/standard-dialect-the-final-chapter/6061 Differential Revision: https://reviews.llvm.org/D120624
-
Brian Cain authored
These printf()s fail to compile like so on hexagon: .../tools/llvm-top/libcxx/test/std/utilities/charconv/charconv.msvc/test.cpp:94:23: error: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Werror,-Wformat] printf("%u ", elem); ~~ ^~~~ %lu .../tools/llvm-top/libcxx/test/std/utilities/charconv/charconv.msvc/test.cpp:569:56: error: format specifies type 'unsigned int' but the argument has type 'uint32_t' (aka 'unsigned long') [-Werror,-Wformat] fprintf(stderr, "%s failed for 0x%08X\n", msg, bits); ~~~~ ^~~~ %08lX .../tools/llvm-top/libcxx/test/std/utilities/charconv/charconv.msvc/test.cpp:1096:43: error: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Werror,-Wformat] printf("Randomized test cases: %u\n", PrefixesToTest * Fractions); ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~ %lu Differential Revision: https://reviews.llvm.org/D120532 -
Craig Topper authored
This adds tests for i8 through i128 with intrinsic and select forms. Covering rv32 and rv64 with the base ISA, Zbb, and Zbt. Some Zbb tests already covered part of this, but not all. FIXMEs have been added for some obviously suboptimal codegen.
-
serge-sans-paille authored
Estimation on the impact on preprocessor output: before: 1065307662 after: 1064800684 Discourse thread: https://discourse.llvm.org/t/include-what-you-use-include-cleanup Differential Revision: https://reviews.llvm.org/D120741
-
serge-sans-paille authored
This is a followup to 344f8ec3048b6eeef94569800acb012f794ad372 It should fix https://green.lab.llvm.org/green/job/clang-stage1-cmake-RA-expensive/21961/console
-
rdzhabarov authored
Fix unused var compiler warning. Reviewed By: Mogball Differential Revision: https://reviews.llvm.org/D120759
-
Craig Topper authored
Many of these test cases had a single space before 'ret' while every other instruction had two space indentation. I did not audit any other tests for this problem.
-
Arthur O'Dwyer authored
Notably the following ctors remain non-explicit because they are used as implicit conversions in too many places: * __debug_less(_Compare&) * __map_iterator(_TreeIterator) * __map_const_iterator(_TreeIterator) * __hash_map_iterator(_HashIterator) * __hash_map_const_iterator(_HashIterator) Differential Revision: https://reviews.llvm.org/D119894
-
Fangrui Song authored
-
Martin Storsjö authored
These tests are hit hard by a bug that is fixed in a newer version of UCRT. Add a test for the specific bug, and XFAIL the tests if that bug is present (as it is in CI). Split out hex formatting of floats to separate test files, that are excluded with `XFAIL: msvc`. (Based on reading the C standard for printf formatting, it seems like this isn't necessarily a proper bug in printf, but just a case of differing optional behaviour.) Differential Revision: https://reviews.llvm.org/D120022
-
Martin Storsjö authored
This was suggested in the review of https://reviews.llvm.org/D120022. Also indent the code for the compilation test one step compared to the surrounding expression. Differential Revision: https://reviews.llvm.org/D120469
-
Mircea Trofin authored
-
Mark de Wever authored
All supported compilers have implemented this feature. Therefore use the language version instead of the feature macro. Reviewed By: #libc, philnik, ldionne, Quuxplusone Differential Revision: https://reviews.llvm.org/D119865
-