- Feb 19, 2023
-
-
Florian Hahn authored
This is part of the optimization pipeline, of which the legacy pass manager version is deprecated. Reviewed By: aeubanks Differential Revision: https://reviews.llvm.org/D144201
-
Mark de Wever authored
-
Kelvin Li authored
This patch adds a subset of PowerPC intrinsics - fmadd, fmsub, fnmadd and fnmsub. Differential Revision: https://reviews.llvm.org/D143951
-
Kristina Bessonova authored
This is similar to ADRP and matches GNU objdump: GNU objdump: ``` 0000000000200100 <_start>: 200100: adr x0, 201000 <_start+0xf00> ``` llvm-objdump (before patch): ``` 0000000000200100 <_start>: 200100: adr x0, #3840 ``` llvm-objdump (after patch): ``` 0000000000200100 <_start>: 200100: adr x0, 0x201000 <_start+0xf00> ``` Reviewed By: simon_tatham, peter.smith Differential Revision: https://reviews.llvm.org/D144079
-
- Feb 18, 2023
-
-
DianQK authored
This should fix https://github.com/rust-lang/rust/issues/107681. Return undefined to a noundef return value is undefined. Example: ``` define noundef i32 @test_ret_noundef(i1 %cond) { entry: br i1 %cond, label %bb1, label %bb2 bb1: br label %bb2 bb2: %r = phi i32 [ undef, %entry ], [ 1, %bb1 ] ret i32 %r } ``` Reviewed By: nikic Differential Revision: https://reviews.llvm.org/D144319
-
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
-