- Jun 10, 2021
-
-
Qiu Chaofan authored
-
Christopher Di Bella authored
Makes the following operations constexpr: * `std::swap(optional, optional)` * `optional(optional<U> const&)` * `optional(optional<U>&&)` * `~optional()` * `operator=(nullopt_t)` * `operator=(U&&)` * `operator=(optional<U> const&)` * `operator=(optional<U>&&)` * `emplace(Args&&...)` * `emplace(initializer_list<U>, Args&&...)` * `swap(optional&)` * `reset()` P2231 has been accepted by plenary, with the committee recommending implementers retroactively apply to C++20. It's necessary for us to implement _`semiregular-box`_ and _`non-propagating-cache`_, both of which are required for ranges (otherwise we'll need to reimplement `std::optional` with these members `constexpr`ified). Differential Revision: https://reviews.llvm.org/D102119
-
Siva Chandra Reddy authored
-
Serge Pavlov authored
Previously such folding was enabled for half, float and double values only. With this change it is allowed for other floating point values also. Differential Revision: https://reviews.llvm.org/D103956
-
Tom Stellard authored
Differential Revision: https://reviews.llvm.org/D102460
-
Esme-Yi authored
Summary: Add support for dumping line number information for XCOFF object files in llvm-objdump. Reviewed By: jhenderson Differential Revision: https://reviews.llvm.org/D101272
-
Sam Powell authored
This is relanding commit d1d36f7a . This patch additionally addresses failures found in buildbots due to unstable build ordering & post review comments. This patch introduces a new tool, llvm-tapi-diff, that compares and returns the diff of two TBD files. Reviewed By: ributzka, JDevlieghere Differential Revision: https://reviews.llvm.org/D101835
-
Yaxun (Sam) Liu authored
Added --gpu-bundle-output to control bundling/unbundling output of HIP device compilation. By default preprocessor expansion, llvm bitcode and assembly are unbundled, code objects are bundled. Reviewed by: Artem Belevich, Jan Svoboda Differential Revision: https://reviews.llvm.org/D101630
-
hsmahesha authored
Reviewed By: rampitec Differential Revision: https://reviews.llvm.org/D103431
-
Jinsong Ji authored
We will need to set the ssp canary bit in traceback table to communicate with unwinder about the canary. Reviewed By: #powerpc, shchenz Differential Revision: https://reviews.llvm.org/D103202
-
Nico Weber authored
For debugging dylib loading, it's useful to have some insight into what the linker is doing. ld64 has the undocumented RC_TRACE_DYLIB_SEARCHING env var for this printing dylib search candidates. This adds a flag --print-dylib-search to make lld print the seame information. It's useful for users, but also for writing tests. The output is formatted slightly differently than ld64, but we still support RC_TRACE_DYLIB_SEARCHING to offer at least a compatible way to trigger this. ld64 has both `-print_statistics` and `-trace_symbol_output` to enable diagnostics output. I went with "print" since that seems like a more straightforward name. Differential Revision: https://reviews.llvm.org/D103985
-
Ron Lieberman authored
remove unintended fprintf in rtl.cpp Reviewed By: pdhaliwal Differential Revision: https://reviews.llvm.org/D104003
-
Jon Roelofs authored
-
Ben Shi authored
1. There is no tests for mabi=ilp32e, and my patch covers that. 2. The tests in riscv-abi.c will show default ABI changes for special archs in the future, especially the arch with the F but without the D extension. 3. The tests in riscv-arch.c will show default arch changes for abi=ilp32, which is rv32imacfd currently, but it is better to be rv32imac. And it is also better for abi=ilp32f defaults to arch=imacf. Reviewed By: MaskRay, luismarques Differential Revision: https://reviews.llvm.org/D103878
-
Jon Roelofs authored
Differential revision: https://reviews.llvm.org/D103994
-
Justin Lebar authored
Previously we were only saving plain TemplateParams. Differential Revision: https://reviews.llvm.org/D103996
-
Nico Weber authored
In a framework Foo.framework, Foo.framework/Foo is usually a relative symbolic link to Foo.framework/Versions/Current/Foo, and Foo.framework/Versions/Current is usually a relative symbolic link to A. Our tests used absolute symbolic links. Now they use relative symbolic links. No behavior change, just makes the tests more representative of the real world. (implicit-dylib.s omits the "Current" folder too, but I'm not changing that here.) Differential Revision: https://reviews.llvm.org/D103998
-
Nico Weber authored
This is important for Frameworks, which are usually symlinks. ld64 gets this right for @rpath that's replaced with @loader_path, but not for bare @loader_path -- ld64's code calls realpath() in that case too, but ignores the result. ld64 somehow manages to find libbar1.dylib in the test without the explicit `-rpath` in Foo1. I don't understand why or how. But this change is a step forward and fixes an immediate problem I'm having, so let's start with this :) Differential Revision: https://reviews.llvm.org/D103990
-
Amy Huang authored
Original change passed wrong parameters to the raw_fd_ostream ctor. Fixes a bug in https://reviews.llvm.org/D102736.
-
Ahmed Taei authored
Differential Revision: https://reviews.llvm.org/D103984
-
Craig Topper authored
If this becomes needed its trivial to add it back.
-
Philip Reames authored
-
- Jun 09, 2021
-
-
Eric Astor authored
Also adds support for the ML.exe command-line flag /X, which ignores the INCLUDE environment variable. This relands commit c43f413b using lit's cross-platform `env` support. Differential Revision: https://reviews.llvm.org/D103989
-
Mehdi Amini authored
A common mistake for newcomers to MLIR is to try to store extra member on the Op class. However these are intended to be thing wrapper around an Operation*, all the storage is meant to be encoded in attribute on the underlying Operation. This can be confusing to debug, so better catch it at build time. Reviewed By: ftynse Differential Revision: https://reviews.llvm.org/D103869
-
Philip Reames authored
-
Cyndy Ishida authored
This reverts commit 20126c9f. The sorting fixes failed to have stable output on different platforms.
-
Cyndy Ishida authored
This reverts commit 90a26a41. This failed to fix ubuntu failures.
-
https://reviews.llvm.org/D103304Kevin Athey authored
Consolidate DEFINE_STACK_MALLOC to simplify. Reviewed By: vitalybuka Differential Revision: https://reviews.llvm.org/D103965
-
Felix Berger authored
[clang-tidy] performance-unnecessary-copy-initialization: Look at the canonical type when checking for aliases. This fixes a false positive case where for instance a pointer is obtained and declared using `auto`. Differential Revision: https://reviews.llvm.org/D103018 Reviewed-by: ymandel
-
Michael Kruse authored
Packed_A must be copied repeatedly, not just for the first iteration of the outer tile. This fixes llvm.org/PR50557
-
Joseph Huber authored
Summary: The current implementation of AANoFreeFloating will incorrectly list floating point loads and stores as may-free. This prevents other attributor instances like HeapToStack from pushing some allocations to the stack. Reviewed By: jdoerfert Differential Revision: https://reviews.llvm.org/D103975
-
Joseph Huber authored
-
Sam Powell authored
* For the output, the attributes within the target slice should be grouped by the input order, then sorted by value ordering. This is to fix current ubuntu buildbot inconsistences.
-
Leonard Chan authored
[compiler-rt][hwasan] Decouple use of the TLS global for getting the shadow base and using the frame record feature This allows for using the frame record feature (which uses __hwasan_tls) independently from however the user wants to access the shadow base, which prior was only usable if shadow wasn't accessed through the TLS variable or ifuncs. Frame recording can be explicitly set according to ShadowMapping::WithFrameRecord in ShadowMapping::init. Currently, it is only enabled on Fuchsia and if TLS is used, so this should mimic the old behavior. Added an extra case to prologue.ll that covers this new case. Differential Revision: https://reviews.llvm.org/D103841
-
Felix Berger authored
[clang-tidy] performance-unnecessary-copy-initialization: Remove the complete statement when the copied variable is unused. It is not useful to keep the statement around and can lead to compiler warnings when -Wall (-Wunused-variable specifically) turned on. Differential Revision: https://reviews.llvm.org/D102175 Reviewed-by: ymandel
-
Eric Astor authored
This reverts commit c43f413b due to Windows environment build breaks
-
Eric Astor authored
Also adds support for the ML.exe command-line flag /X, which ignores the INCLUDE environment variable.
-
Arthur Eubanks authored
This reverts commit 26044c6a. Breaks on invalid IR (see D101103).
-
Mark de Wever authored
The post-conditions for the self move assignment of `std::unique_ptr` were changed. This requires no implementation changes. A test was added to validate the new post-conditions. Addresses - LWG-3455: Incorrect Postconditions on `unique_ptr` move assignment Reviewed By: #libc, ldionne Differential Revision: https://reviews.llvm.org/D103764
-
madhur13490 authored
Reviewed By: aeubanks Differential Revision: https://reviews.llvm.org/D103981
-