- Apr 27, 2023
-
-
Vitaly Buka authored
Reviewed By: thurston Differential Revision: https://reviews.llvm.org/D149271
-
Alex Langford authored
This test fails on the aarch64-windows bots unfortunately. Mark as unsupported. Context: https://lab.llvm.org/buildbot/#/builders/219/builds/2389
-
Aaron Ballman authored
Addresses the issue found in: https://lab.llvm.org/buildbot/#/builders/92/builds/43413
-
ipriyanshi1708 authored
Fixed the error message for attribute placement. Earlier it was showing 'place it after "enum"' but it should be 'place it after "enum class"' which I have fixed in this patch. Fixes https://github.com/llvm/llvm-project/issues/61660 Differential Revision: https://reviews.llvm.org/D147989
-
max authored
Differential Revision: https://reviews.llvm.org/D149261
-
Zarko Todorovski authored
D148177 also removed the error for sampling based profiling which is not currently supported on AIX. Adding that error back. Reviewed By: qiongsiwu1 Differential Revision: https://reviews.llvm.org/D148960
-
Florian Hahn authored
Extra tests for D148841 based on the tests added in 95539186.
-
do authored
Adds support for .ior., .ieor., and .iand. reductions. Reviewed By: kiranchandramohan Differential Revision: https://reviews.llvm.org/D148994
-
Craig Topper authored
-
Mingming Liu authored
Reviewed By: nickdesaulniers Differential Revision: https://reviews.llvm.org/D149274
-
Aaron Ballman authored
This file hasn't had any diagnostics in it since 2012, so I think we're safe to remove this file.
-
Craig Topper authored
Have the ErrorInfo version call it after looking up ErrorInfo in the Operands. Use the new function in a few places that don't have ErrorInfo and were also generating out of range messages.
-
Kirill Stoimenov authored
When a signal is raised before HWASAN has a chance to initialize it's TLS entry the program crashes. This only happens when hwasan-with-tls is true, which is default value. This patch fixes the problem by disabling signals during thread initialization time. Reviewed By: vitalybuka Differential Revision: https://reviews.llvm.org/D149085
-
Emilio Cota authored
-
Craig Topper authored
I think RISCV was the original here and the CSKY and Loong copied it.
-
Matt Arsenault authored
The various isKnownNever* calls can be merged into one. This also introduces the new ability to remove zero/sub/normal checks. Also start passing the AssumptionCache arguments.
-
Alex Brachet authored
Differential Revision: https://reviews.llvm.org/D148775
-
Slava Zakharin authored
This resolves issues with running out of stack on examples like https://fortran-lang.discourse.group/t/modern-fortran-sample-code/2019/18 reported by @clementval. When target rewrite creates alloca(s) around a call, we need to insert stacksave/stackrestore to free the allocated stack. Better performant code may be achieved by placing the alloca(s) outside of loops, but the placement has to behave correctly with regards to OpenMP/OpenACC/etc. dialect operations that have special representation for "private" objects. This is a concervative fix for correctness issue. Differential Revision: https://reviews.llvm.org/D149222
-
Alex Langford authored
This is useful in contexts where you have multiple languages in play: You may be stopped in a frame for language A, but want to set a watchpoint with an expression using language B. The current way to do this is to use the setting `target.language` while setting the watchpoint and unset it after the watchpoint is set, but that's kind of clunky and somewhat error-prone. This should add a better way to do this. rdar://108202559 Differential Revision: https://reviews.llvm.org/D149111
-
Craig Topper authored
Zicntr and Zihpm are names for groups of CSRs so they should imply that CSRs exist. Reviewed By: asb, kito-cheng Differential Revision: https://reviews.llvm.org/D148962
-
Craig Topper authored
This change adds the definition of the two extensions, but does not either a) make any register definitions conditional on them or b) enabled the extensions by default. This is somewhat analogous to https://reviews.llvm.org/D143953, but with some key differences. The best discussion I can find on status is here: https://github.com/riscv/riscv-profiles/issues/43. These were removed between document version 2.1 and 2.2, but were not defined as new extensions in 2.2. That addition came later - in March 2022. According to https://drive.google.com/file/d/1qa57pePesOiDOrNzxuuGFhCL4Rbi9AYB/view these were ratified in March 2023. Reviewed By: asb, reames Differential Revision: https://reviews.llvm.org/D144215
-
Matt Arsenault authored
Makes assumes work for this case.
-
Jan Sjodin authored
This patch adds lowering of TargetOps for the host. The lowering outlines the target region function and uses the OpenMPIRBuilder support functions to emit the function and call. Code generation for offloading will be done in later patches. Reviewed By: kiranchandramohan, jdoerfert, agozillon Differential Revision: https://reviews.llvm.org/D147172
-
Matt Arsenault authored
-
Matt Arsenault authored
We need to expand the set of possible classes to the opposite sign for the first operand if we don't know the sign of the second operand.
-
Mingming Liu authored
- The set of flag is from https://gcc.gnu.org/onlinedocs/gcc/Extended-Asm.html#Flag-Output-Operands Before: - ARM64 GCC supports flag output constraints, while Clang doesn't parse condition code, as shown in https://gcc.godbolt.org/z/7jzMEK796 - LLVM ISel won't lower them either (as shown in https://gcc.godbolt.org/z/Pv4PPf56c) After: - Given flag output constraints in LLVM IR, condition code is parsed and flag output is lowered to 'cset'. - Clang parse is not added in this patch. Differential Revision: https://reviews.llvm.org/D149032
-
Jay Foad authored
-
Paul Robinson authored
Downstream doc tooling doesn't like an #if between the doc and the function prototype. This change also guarantees that the prototype stays the same for 32/64 bit users.
-
- Apr 26, 2023
-
-
Paul Kirth authored
Prior to this patch the SCS prologue used the following instruction sequence. ``` s[w|d] ra, 0(gp) addi gp, gp, [4|8] ``` The problem with this sequence is that an interrupt occurring between the store and the increment could clobber the value just written to the SCS. https://reviews.llvm.org/D84414#inline-813203 pointed out a similar issues that could have affected the epilogue. This patch changes the instruction sequence in the prologue to: ``` addi gp, gp, [4|8] s[w|d] ra, -[4|8](gp) ``` The downside to this is that there is now a data dependency between the add and the store. Reviewed By: asb Differential Revision: https://reviews.llvm.org/D149099
-
Slava Zakharin authored
So far we've relied on AllocaOp to represent the dummy arguments not declared for the current entry. With HLFIR we have to account for hlfir::DeclareOp. Differential Revision: https://reviews.llvm.org/D149231
-
Teresa Johnson authored
Adds an interface to remove a string function attribute attached to a CallBase, and a corresponding unittest. This was extracted from D141077, and will be used by a follow on patch that removes memprof attributes when needed. Reviewed By: snehasish Differential Revision: https://reviews.llvm.org/D149192
-
Joseph Huber authored
This patch updates some of the documentation for the GPU libc project. There is a lot of work still to be done, but this sets the general outline. Reviewed By: jdoerfert Differential Revision: https://reviews.llvm.org/D149194
-
Sam McCall authored
Differential Revision: https://reviews.llvm.org/D148949
-
Mehdi Amini authored
Differential Revision: https://reviews.llvm.org/D149232
-
Paul Robinson authored
Differential Revision: https://reviews.llvm.org/D149205
-
Shivam Gupta authored
clang-rename on a non existing file segfaults Command to run - $ clang-rename -offset=0 -new-name=plop asdasd Error while processing llvm-project/asdasd. clang-rename: llvm-project/llvm/include/llvm/Support/ErrorOr.h:237: llvm::ErrorOr<T>::storage_type* llvm::ErrorOr<T>::getStorage() [with T = const clang::FileEntry*; llvm::ErrorOr<T>::storage_type = const clang::FileEntry*]: Assertion `!HasError && "Cannot get value when an error exists!"' failed. [1] 827497 IOT instruction clang-rename -offset=0 -new-name=plop asdasd This fixes https://github.com/llvm/llvm-project/issues/36471. Reviewed By: aaron.ballman Differential Revision: https://reviews.llvm.org/D148439
-
NAKAMURA Takumi authored
Depends on D146915 Differential Revision: https://reviews.llvm.org/D145937
-
NAKAMURA Takumi authored
This commit doesn't replace `IntrinsicEmitter::ComputeFixedEncoding()`, but compares outputs to it, to make sure implementation correct. Depends on D145871, D145872, D145874, and D146914 Differential Revision: https://reviews.llvm.org/D146915
-
NAKAMURA Takumi authored
They were dedicated to constant version of list slice. Depends on D147401 Differential Revision: https://reviews.llvm.org/D145872
-
NAKAMURA Takumi authored
This enables indexing in `!foreach` and permutation with `list[permlist]`. Enhancements in syntax: - `list<int>` is applicable as a slice element. - `list[int,]` is evaluated as not `ElemType` but `list<ElemType>` with a single element. Part of D145872 FIXME: I didn't apply new semantics to BitSlice.
-