- Mar 07, 2023
-
-
Guillaume Chatelet authored
In the same vein as https://reviews.llvm.org/D141553 Enable the feature globally to ensure layering and catch circular dependencies (https://llvm.org/docs/CodingStandards.html#library-layering). Differential Revision: https://reviews.llvm.org/D143678
-
Matt Devereau authored
This check is checking for the cc1 flag but this test has been seen to fail when FILEPATHVAL has contained cc1 in generated SHAs
-
Guillaume Chatelet authored
-
David Green authored
See D145184.
-
Florian Hahn authored
This helps to reduce the diff of a follow-up change and improves readability of the existing code.
-
Jay Foad authored
-
Zain Jaffal authored
Reviewed By: fpetrogalli Differential Revision: https://reviews.llvm.org/D145300
-
Mel Chen authored
Reviewed By: craig.topper Differential Revision: https://reviews.llvm.org/D144455
-
Graham Hunter authored
Since AArch64 has sqrt instructions, we want to use those instead of calls to vector math routines for llvm sqrt intrinsics (since those don't imply some of the constraints that libm calls might have) so we just remove the mappings. Code originally written by mgabka Reviewed By: danielkiss, paulwalker-arm Differential Revision: https://reviews.llvm.org/D145392
-
Michael Buch authored
Reverting because Xcode requires this to be handled elsewhere. The global variable list gets constructed using the SBAPI This reverts commit de10c1a8.
-
Michael Buch authored
Reverted because dependecy had to be reverted. This reverts commit 4d909c55.
-
Michael Buch authored
Reverted because Windows buildbot started failing This reverts commit b642fd5e.
-
Michael Buch authored
Revert "[lldb][TypeSystemClang] Use the CXXFunctionPointerSummaryProvider for member-function pointers" Reverted because Windows buildbot started failing This reverts commit 6bd46e71.
-
Michael Buch authored
Reverted because dependecies had to be reverted. This reverts commit 96e39fdb.
-
Nikita Popov authored
-
sgokhale authored
AArch64/reg-usage.ll has an issue with the output ordering due to use of unordered container. This was discovered by -DLLVM_REVERSE_ITERATION:BOOL=ON cmake option. This patch tries to address it by making use of ordered container. Differential Revision: https://reviews.llvm.org/D145472/
-
Tomas Matheson authored
D145206 changed value() to value_or(0), removing the assert that checks that there is a minor version. Add it back explicitly. Differential Revision: https://reviews.llvm.org/D145371
-
pvanhout authored
We previously only matched (min (max ...)) Depends on D144728 Reviewed By: arsenm Differential Revision: https://reviews.llvm.org/D145159
-
Florian Hahn authored
If all stores only store the initializer value of a global, consider it as not stored in the heuristic. GlobalOpt will remove such stores later on. Depends on D129857. Reviewed By: nikic Differential Revision: https://reviews.llvm.org/D144476
-
pvanhout authored
Differential Revision: https://reviews.llvm.org/D144728
-
wangpc authored
Like what has been done in AArch64 (D125335). We enable this under `-O2` to show the codegen diffs here but we may only do this under `-O3` like AArch64. There are two cases that we may produce these eliminable copies: 1. ISel of `FrameIndex`. Like `rvv/fixed-vectors-calling-conv.ll`. 2. Tail duplication. Like `select-optimize-multiple.ll`. Reviewed By: craig.topper Differential Revision: https://reviews.llvm.org/D144535
-
wangpc authored
SchedWrites are relevant to LMUL for most instructions, so we have to enumerate all defined SchedWrites when defining ReadAdcance. This patch adds some classes to simplify these definitions. Reviewed By: michaelmaitland Differential Revision: https://reviews.llvm.org/D145041
-
Nikita Popov authored
This patch enables --function-signature by default under --version 2 and makes --version 2 the default. This means that all newly created tests will check the function signature, while leaving old tests alone. There's two motivations for this change: * Without --function-signature, the generated check lines may fail in a very hard to understand way if the test both includes a function definition and a call to that function. (Though we could address this by making the CHECK-LABEL stricter, without checking the full signature.) * This actually checks that uses of the arguments in the function body use the correct argument, instead of matching against any variable. This is a replacement for D139006 and D140212 based on the --version mechanism. I did not include an opt-out flag --no-function-signature because I'm not sure we need it. Would be happy to include it though, if desired. Differential Revision: https://reviews.llvm.org/D145149
-
Anonymous authored
run-clang-tidy.py should only search for the clang-apply-replacements if really needed. Reviewed By: carlosgalvezp Differential Revision: https://reviews.llvm.org/D145477
-
Dmitry Makogon authored
-
sgokhale authored
This forms the base for upcoming patch to generate pseudo instructions for MLA/MAD/MLS/MSB. Differential Revision: https://reviews.llvm.org/D142998
-
Jean Perier authored
I missed `addCharSymbol` in the patch adding the hlfir.declare in internal procedures for "captured" entities (https://reviews.llvm.org/D143481). Differential Revision: https://reviews.llvm.org/D145361
-
Siva Chandra Reddy authored
-
danix800 authored
If ignored, the subexpr is a UnaryOperator (&) which cannot be evaluated (assertion failed). #define offsetof(type,memb) ((unsigned long)&((type*)0)->memb) Patch By danix800! Differential Revision: https://reviews.llvm.org/D144780
-
Chuanqi Xu authored
definition correctly Close https://github.com/llvm/llvm-project/issues/61067 Previously we will only handle the defaulted member functions as discardable ODR. But we need to handle defaulted friend function in this way too. Otherwise we may run into the problems the above issue report mentions.
-
Mehdi Amini authored
The concept of the ActionManager acts as a sort of "Hub" that can receive various types of action and dispatch them to a set of registered handlers. One handler will handle the action or it'll cascade to other handlers. This model does not really fit the current evolution of the Action tracing and debugging: we can't foresee a good case where this behavior compose with the use-case behind the handlers. Instead we simplify it with a single callback installed on the Context. Differential Revision: https://reviews.llvm.org/D144811
-
Adrian Kuegel authored
-
Fangrui Song authored
-
Jun Sha (Joshua) authored
This patch implements experimental support for the RISCV Zfa extension as specified here: https://github.com/riscv/riscv-isa-manual/releases/download/draft-20221119-5234c63/riscv-spec.pdf, Ch. 25. This extension has not been ratified. Once ratified, it'll move out of experimental status. This change adds codegen support for load-immediate instructions (fli.s/fli.d/fli.h). Reviewed By: craig.topper Differential Revision: https://reviews.llvm.org/D141560
-
Jun Sha (Joshua) authored
Add missing roundtointegral builtin functions for some FP instructions to be generated from C-written codes To generate FROUND instructions in https://reviews.llvm.org/D143982, we need to use llvm intrinsics in IR files. Now I add some corresponding builtin functions to make sure these roundtointegral instructions can be generated from C codes. Reviewed By: efriedma Differential Revision: https://reviews.llvm.org/D144935
-
Jun Sha (Joshua) authored
This implements experimental support for the RISCV Zfa extension as specified here: https://github.com/riscv/riscv-isa-manual/releases/download/draft-20221119-5234c63/riscv-spec.pdf, Ch. 25. This extension has not been ratified. Once ratified, it'll move out of experimental status. This change adds assembly support for load-immediate instructions (fli.s/fli.d/fli.h). The assembly prefers decimal constants in C-like syntax. In my implementation, an integer encoding ranging from 0 to 31 can also be accepted, but for the MCInst printer, the constant is specified in decimal notation by default. Reviewed By: craig.topper Differential Revision: https://reviews.llvm.org/D140460
-
Fangrui Song authored
-
Tue Ly authored
[libc][math] Switch math functions to use libc_errno and fix some errno and floating point exceptions. Switch math functions to use libc_errno and fix some errno and floating point exceptions Reviewed By: sivachandra Differential Revision: https://reviews.llvm.org/D145349
-
Fangrui Song authored
These are unfortunately untested. I'll add some tests in a subsequent change.
-
Craig Topper authored
I believe this implies relationship is documented in the current spec but may have been less clear in an older spec. We used to report an error so I think it should be ok to change this. Only someone expecting the error should be impacted. Reviewed By: asb, luismarques Differential Revision: https://reviews.llvm.org/D145125
-