- Feb 18, 2023
-
-
Tue Ly authored
-
Sanjay Patel authored
issue #60799 issue #60801
-
Nikolas Klauser authored
Reviewed By: #libc, philnik Spies: Mordante, paulkirth, libcxx-commits Differential Revision: https://reviews.llvm.org/D144307
-
Mark de Wever authored
Depends on D142808 Reviewed By: #libc, ldionne Differential Revision: https://reviews.llvm.org/D143383
-
eopXD authored
Signed-off-by:eop Chen <eop.chen@sifive.com>
-
Amara Emerson authored
-
Benjamin Kramer authored
Avoids warnings in -asserts builds. ASTContext.cpp:4098:1: error: non-void function does not return a value in all control paths [-Werror,-Wreturn-type] } ^
-
Ethan Luis McDonough authored
Addresses Github issue [[ https://github.com/llvm/llvm-project/issues/60317 | #60317 ]]. Reviewed By: klausler Differential Revision: https://reviews.llvm.org/D143469
-
LLVM GN Syncbot authored
-
Cyndy Ishida authored
Introduce initial reader for TBDv5 which is in JSON. This captures all the currently understood fields within the internal structure `InterfaceFile`. New fields will be followed up in future PRs. Reviewed By: pete Differential Revision: https://reviews.llvm.org/D144156
-
Shengchen Kan authored
The only instruction of this format is VEX encoding
-
Lang Hames authored
Allocation actions may run JIT'd code, which isn't permitted in -noexec mode. Testcases that depend on actions running should be moved to the ORC runtime.
-
Kirill Stoimenov authored
This caused false positives because the existing logic was not taking into account that pointers could have a tag in them. Reviewed By: vitalybuka Differential Revision: https://reviews.llvm.org/D144305
-
Paulo Matos authored
This patch introduces a new type __externref_t that denotes a WebAssembly opaque reference type. It also implements builtin __builtin_wasm_ref_null_extern(), that returns a null value of __externref_t. This lays the ground work for further builtins and reference types. Reviewed By: aaron.ballman Differential Revision: https://reviews.llvm.org/D122215
-
Ye Luo authored
~TaskAsyncInfoWrapperTy() calls isDone. With synchronize inside isDone, we need to handle the error return from synchronize in the destructor. The consumers of TaskAsyncInfoWrapperTy, targetDataMapper and targetKernel, both call AsyncInfo.synchronize() before exiting. For this reason in ~TaskAsyncInfoWrapperTy(), calling synchronize() via isDone() is redundant. This patch removes synchronize() call inside isDone() and makes it a lightweight check. __tgt_target_nowait_query needs to call synchronize() before checking isDone(). Differential Revision: https://reviews.llvm.org/D144315
-
Matt Arsenault authored
-
Matt Arsenault authored
Also stop caring about typed pointers.
-
Fangrui Song authored
-
Renaud-K authored
[flang] Adding fir::getSymbolAttrName attribute to the function corresponding to the main subprogram. This is because the source name cannot be deconstructed from _QQmain Differential revision: https://reviews.llvm.org/D144295
-
Philip Reames authored
Experimental support for the zfa extension was recently added in https://reviews.llvm.org/D141984. A couple of the normal test changes and clang plumbing got missed in that change. This commit updates the usual suspects. Differential Revision: https://reviews.llvm.org/D144288
-
Dave Lee authored
Context: The `expression` command uses artificial variables to store the expression result. This result variable is unconditionally kept around after the expression command has completed. These variables are known as persistent results. These are the variables `$0`, `$1`, etc, that are displayed when running `p` or `expression`. This change allows users to control whether result variables are persisted, by introducing a `--persistent-result` flag. This change keeps the current default behavior, persistent results are created by default. This change gives users the ability to opt-out by re-aliasing `p`. For example: ``` command unalias p command alias p expression --persistent-result false -- ``` For consistency, this flag is also adopted by `dwim-print`. Of note, if asked, `dwim-print` will create a persistent result even for frame variables. Differential Revision: https://reviews.llvm.org/D144230
-
Dave Lee authored
Adopt `expression`'s options in `dwim-print`. This is primarily added to support the `--language`/`-l` flag. Differential Revision: https://reviews.llvm.org/D144114
-
LLVM GN Syncbot authored
-
Cyndy Ishida authored
This reverts commit b861b122. This reverts commit 4be17641. This patch wont build on some compilers on buildbot.
-
Cyndy Ishida authored
-
LLVM GN Syncbot authored
-
Cyndy Ishida authored
[TextAPI] Implement TBDv5 Reader Introduce initial reader for TBDv5 which is in JSON. This captures all the currently understood fields within the internal structure `InterfaceFile`. New fields & follow up tests will be followed up in future PRs. Reviewed By: pete Differential Revision: https://reviews.llvm.org/D144156 -
Amara Emerson authored
Differential Revision: https://reviews.llvm.org/D144303
-
Shafik Yaghmour authored
[Clang] Fix __VA_OPT__ implementation so that it treats the concatenation of a non-placemaker token and placemaker token as a non-placemaker token Currently the implementation of __VA_OPT__ will treat the concatenation of a non-placemaker token and placemaker token as a placemaker token which is not correct. This will fix the implementation and treat the result as a non-placemaker token. This fixes: https://github.com/llvm/llvm-project/issues/60268 Differential Revision: https://reviews.llvm.org/D142604
-
Craig Topper authored
Rather than using operator[] on getFeatureBits we can use hasFeature to shorten the code. Reviewed By: MaskRay Differential Revision: https://reviews.llvm.org/D144300
-
Fangrui Song authored
-
Alex Brachet authored
This reverts commit 4eadd19c. Doesn't work on macos. I'll investigate more
-
Nikolas Klauser authored
-
Daniel Thornburgh authored
Since binary ID lookup makes CLI object arguments optional, it should be possible to pass a list of source files without a binary. Unfortunately, the current syntax will always interpret the first source file as a binary. This change adds a `-sources` option to cause all later positional arguments to be considered sources. Reviewed By: gulfem Differential Revision: https://reviews.llvm.org/D144207
-
Alex Brachet authored
Differential Revision: https://reviews.llvm.org/D144287
-
Nikolas Klauser authored
Reviewed By: Mordante, #libc Spies: libcxx-commits Differential Revision: https://reviews.llvm.org/D144258
-
Philipp Tomsich authored
The XTHeadBb extension hab both signed and unsigned bitfield extraction instructions (TH.EXT and TH.EXTU, respectively) which have previously only been supported for sign extension on byte, halfword, and word-boundaries. This adds the infrastructure to use TH.EXT and TH.EXTU for arbitrary bitfield extraction. Reviewed By: craig.topper Differential Revision: https://reviews.llvm.org/D144229
-
Alex Langford authored
In json::Value, getAsInteger returns an optional<int64_t> and getAsNumber returns an optional<double>. If a value is larger than what an int64_t can hold but smaller than what a uint64_t can hold, the getAsInteger function will fail but the getAsNumber will succeed. However, the value shouldn't be interpreted as a double. rdar://105556974 Differential Revision: https://reviews.llvm.org/D144238
-
Mark de Wever authored
LWG3810 CTAD for std::basic_format_args Reviewed By: #libc, philnik Differential Revision: https://reviews.llvm.org/D144275
-
Pavel Kopyl authored
Also get rid of explicitly specified '-march' values for old architectures. This simplifies %ptxas-verify statements. After the change, we can potentially miss cases where a new functionality is added to the architecture without appropriate checks in the backend. On the other hand, this is mostly true for old architectures that have been thoroughly tested. Differential Revision: https://reviews.llvm.org/D141736
-