- Aug 04, 2021
-
-
Roman Lebedev authored
-
Roman Lebedev authored
-
Craig Topper authored
This transform has been restricted to legal types since https://reviews.llvm.org/rG65df808f6254617b9eee931d00e95d900610b660 in 2012. This is particularly restrictive on RISCV64 which only has i64 as a legal integer type. i32 is a very common type in code generated from C, but we won't form a lookup table with it. This also effects other common types like i8/i16 types on ARM, AArch64, RISCV, etc. This patch proposes to allow power of 2 types larger than 8 bit, if they will fit in the largest legal integer type in DataLayout. These types are common in C code so generally well handled in the backends. We could probably do this for other types like i24 and rely on alignment and padding to allow the backend to use a single wider load. This isn't my main concern right now and it will need more tests. We could also allow larger types up to some limit and let the backend split into multiple loads, but we need to define that limit. It's also not my main concern right now. Reviewed By: lebedev.ri Differential Revision: https://reviews.llvm.org/D107233
-
Jeffrey Tan authored
VScode now sends a "scopes" DAP request immediately after any expression evaluation. This scopes request would clear and invalidate any non-scoped expandable variables in g_vsc.variables, causing later "variables" request to return empty result. The symptom is that any expandable variables in VScode watch window/debug console UI to return empty content. This diff fixes this issue by only clearing the expandable variables at process continue time. To achieve this, we have to repopulate all scoped variables during context switch for each "scopes" request without clearing global expandable variables. So the PR puts the scoped variables into its own locals/globals/registers; and all expandable variables into separate "expandableVariables" list. Also, instead of using the variable index for "variableReference", it generates a new variableReference id each time as the key of "expandableVariables". As a further new feature, this PR adds a new "expandablePermanentVariables" which has the lifetime of debug session. Any expandable variables from debug console are added into this list. This enables users to snapshot expanable old variable in debug console and compare with new variables if desire. Reviewed By: clayborg Differential Revision: https://reviews.llvm.org/D105166
-
River Riddle authored
This prevents an explosion of threads, given that each file gets its own context and thus its own thread pool. We don't really need a thread pool for the LSP contexts anyways, so it's better to just disable threading.
-
Aart Bik authored
Reviewed By: bixia Differential Revision: https://reviews.llvm.org/D107379
-
Matheus Izvekov authored
See PR48656. The implementation of the template instantiation of requires expressions was incorrectly trying to get the expression from an 'ExprRequirement' before checking if it was an error state. Signed-off-by:
Matheus Izvekov <mizvekov@gmail.com> Reviewed By: rsmith Differential Revision: https://reviews.llvm.org/D107399
-
Evandro Menezes authored
Add the scheduling resources for the V extension instructions. Differential Revision: https://reviews.llvm.org/D98002
-
Matheus Izvekov authored
See PR47174. When canonicalizing nested name specifiers of the type kind, the prefix for 'DependentTemplateSpecialization' types was being dropped, leading to malformed types which would cause failures when rebuilding template names. Signed-off-by:
Matheus Izvekov <mizvekov@gmail.com> Reviewed By: rsmith Differential Revision: https://reviews.llvm.org/D107311
-
modimo authored
Results from Clang self-build: {F17435948} Testing: ninja check-all Reviewed By: anton-afanasyev Differential Revision: https://reviews.llvm.org/D104428 -
Alexey Bataev authored
If the vectorized insertelements instructions form indentity subvector (the subvector at the beginning of the long vector), it is just enough to extend the vector itself, no need to generate inserting subvector shuffle. Differential Revision: https://reviews.llvm.org/D107344
-
Nico Weber authored
LLVM includes this header unconditionally on all platforms (including Windows), so this define should no longer be necessary. No behavior change. Differential Revision: https://reviews.llvm.org/D107338
-
Nico Weber authored
The comment was originally added in 34769d80. Then D44526 removed the flag added there (but kept the comment), and then D66966 reintroduced a .noindex dir (which D68606 and then 33fca978 moved around a bit). No behavior change. Differential Revision: https://reviews.llvm.org/D107341
-
Douglas Chen authored
This patch tries to fix command line too long problem on Windows for https://reviews.llvm.org/D86671. The command line is too long with check_clang_tidy.py program on Windows, because the configuration is long for regression test. Fix this issue by passing the settings in file instead. Differential Revision: https://reviews.llvm.org/D107325
-
George Burgess IV authored
As of 2a3498e2, we ignore parameter name mismatches for functions in the `std::` namespace, since those aren't standardized. It seems reasonable to extend this to all functions which are declared in system headers, since this lint can be a bit noisy otherwise (https://bugs.chromium.org/p/chromium/issues/detail?id=1191507). Differential Revision: https://reviews.llvm.org/D99993
-
River Riddle authored
A special language contribution is required for properly supporting markdown code blocks in vscodes builtin markdown grammar, see https://github.com/mjbvz/vscode-fenced-code-block-grammar-injection-example for more details.
-
Vitaly Buka authored
This lets us to apply ColumnLimit without breaking "RUN:" lines.
-
Alexey Bataev authored
reordering algorithm.
-
Kostya Serebryany authored
[libFuzzer] fix clang-tidy Reviewed By: morehouse Differential Revision: https://reviews.llvm.org/D107382
-
Alexey Bataev authored
This reverts commit e408d1df and 2 other (4b25c113 and c2deb2af) related to fix the problem with the reordering shuffles.
-
Alex Langford authored
The test relies on the python embedded interpreter being available and fails otherwise.
-
Sami Tolvanen authored
Create an internal alias with the original name for static functions that are renamed in promoteInternals to avoid breaking inline assembly references to them. Relands 700d07f8 with -msvc targets fixed. Link: https://github.com/ClangBuiltLinux/linux/issues/1354 Reviewed By: nickdesaulniers, pcc Differential Revision: https://reviews.llvm.org/D104058
-
Kostya Serebryany authored
[libFuzzer] replace Vector/Set with std::vector/std::set. The custom names are not required any more since we now build with a private version of libc++. Fix some of the 81+ character lines. Mechanical change, NFC expected. [libFuzzer] replace Vector/Set with std::vector/std::set. Reviewed By: morehouse Differential Revision: https://reviews.llvm.org/D107374
-
Dylan Fleming authored
Fixed type assertion failure caused by trying to fold a masked load with a select where the select condition is a scalar value Reviewed By: sdesmalen, lebedev.ri Differential Revision: https://reviews.llvm.org/D107372
-
Philip Reames authored
-
Jennifer Yu authored
where should not. Currently we are using QTy->isIncompleteType(&ND) to check incomplete type. But before doing that, need to instantiate for a class template specialization or a class member of a class template specialization, or an array with known size of such..., so that we know it is really incomplete type. To fix this using RequireCompleteType instead. The new test is added into "test/OpenMP/target_update_messages.cpp" The different of using RequireCompleteType is when emit incomplete type, an additional note is also emitted to point to where incomplete type is declared. Because this change, many tests are needed to be fixed by adding additional note. This is to fix https://bugs.llvm.org/show_bug.cgi?id=50508 Differential Revision: https://reviews.llvm.org/D107200
-
Vitaly Buka authored
-
Simon Pilgrim authored
As discussed on D107068 - see how well we merge INSERT_SUBVECTOR nodes and combine a shuffles using multiple ops in CONCAT_VECTORS nodes.
-
Philip Reames authored
Use for-range, use the idiomatic pattern for non-loop values, etc..
-
Ahmed Taei authored
Switch r.h.s operand layout (n1, k1, n0, k0) -> (n1, k1, k0, n0) which is more consistant with scalar-vector products vectorization and elementates operand transpose. Reviewed By: rsuderman Differential Revision: https://reviews.llvm.org/D107307
-
Sumesh Udayakumaran authored
mlir/test/transforms/loop-fusion.mlir is too big and is split into mlir/test/transforms/loop-fusion.mlir, mlir/test/transforms/loop-fusion-2.mlir, mlir/test/transforms/loop-fusion-3.mlir and mlir/test/transforms/loop-fusion-4.mlir. Further tests can be added in mlir/test/transforms/loop-fusion-4.mlir Reviewed By: bondhugula Differential Revision: https://reviews.llvm.org/D106473
-
wlei authored
This change supports to run without parsing MMap binary loading events instead it always assumes binary is loaded at the preferred address. This is used when we have assured no binary load address changes or we have pre-processed the addresses resolution. Warn if there's interior mmap event but without leading mmap events. Reviewed By: hoy Differential Revision: https://reviews.llvm.org/D107097
-
Cullen Rhodes authored
Missed in 3a349d22.
-
Dmitry Vyukov authored
Reviewed By: vitalybuka Differential Revision: https://reviews.llvm.org/D107368
-
Vitaly Buka authored
Differential Revision: https://reviews.llvm.org/D107319
-
David Green authored
This changes the lowering of f32 and f64 COPY from a 128bit vector ORR to a fmov of the appropriate type. At least on some CPU's with 64bit NEON data paths this is expected to be faster, and shouldn't be slower on any CPU that treats fmov as a register rename. Differential Revision: https://reviews.llvm.org/D106365
-
Kazu Hirata authored
Identified with llvm-header-guard.
-
KareemErgawy-TomTom authored
This patch extends the PureControlFlowDetectionModel to consider detensoring br and cond_br operands. See: https://github.com/google/iree/issues/1159#issuecomment-884322687, for a disccusion on the need for such extension. Reviewed By: silvas Differential Revision: https://reviews.llvm.org/D107358
-
Andrea Di Biagio authored
Also, regenerate existing X86 tests using update_mca_test.py.
-
Fangrui Song authored
This is available in GNU ld 2.35 and can be seen as a shortcut for multiple --export-dynamic-symbol, or a --dynamic-list variant without the symbolic intention. In the long term, this option probably should be preferred over --dynamic-list. Reviewed By: peter.smith Differential Revision: https://reviews.llvm.org/D107317
-