- Mar 06, 2023
-
-
Balázs Kéri authored
The declaration of __builtin_va_list seems to be handled specially by ASTContext and/or Sema. The normal AST traversal probably can not find it, therefore it is not added to ASTImporterLookupTable. If it is not added, errors can occur because a duplicated VaList declaration is created at import. To fix the problem the VaList declaration is added manually to ASTImporterLookupTable at construction. In special cases this declaration is inside a "invisible" 'std' namespace that behaves the same way. This namespace must be added to the table too. Reviewed By: vabridgers, donat.nagy Differential Revision: https://reviews.llvm.org/D144273
-
Siva Chandra authored
-
Matthias Springer authored
This allows users to provide custom `Iterator` templates. A new iterator will be added in a subsequent change. Also rename `makeRange` to `makeIterable` and add a test case for the reverse iterator. Differential Revision: https://reviews.llvm.org/D144887
-
Max Kazantsev authored
-
Matthias Springer authored
`reifyResultShapes` now returns `OpFoldResult`s instead of `Value`s. This is often more efficient because many transformations immediately attempt to extract a constant from the reified values. Differential Revision: https://reviews.llvm.org/D145250
-
Siva Chandra Reddy authored
The test binaries are built like any other executable but with two additional linker options -static and -nostdlib. Reviewed By: jhuber6 Differential Revision: https://reviews.llvm.org/D145298
-
Muhammad Omair Javaid authored
This patch removes XFAIL decorator from merge-equivalent-ranges.ll test. Merge equilant ranges is passing on aarch64-windows-msvc buildbot since: https://lab.llvm.org/buildbot/#/builders/120/builds/4291
-
Kazu Hirata authored
This patch deprecates: - those functions that have been soft-deprecated - countPopulation Note that I've already migrated away from all known uses of these functions. Differential Revision: https://reviews.llvm.org/D144423
-
Chuanqi Xu authored
Address https://github.com/llvm/llvm-project/issues/61150. The test is intended to show the polluted operator&& will affect the ODR checking and the ODR checking here is correct.
-
Carl Ritson authored
Poison needs to be treated directly during type remap otherwise it will be considered an instance of undef. Reviewed By: dexonsmith Differential Revision: https://reviews.llvm.org/D145317
-
Sameer Sahasrabuddhe authored
-
Tue Ly authored
-
ShihPo Hung authored
Since code-size cost doesn't scale linearly with LMUL, this change is to separate it from throughput. Reviewed By: reames Differential Revision: https://reviews.llvm.org/D142068
-
Hristo Hristov authored
[libc++][spaceship][NFC] Marked `operator<=>` for `move_iterator` and `counted_iterator` as implemented Apprarently implemented as part of: - `move_iterator` - https://reviews.llvm.org/D117656 - `counted_iterator` - https://reviews.llvm.org/D106205 Reviewed By: #libc, philnik Spies: libcxx-commits, yaxunl Differential Revision: https://reviews.llvm.org/D145243
-
Matt Arsenault authored
The fcopysign DAG operation, unlike the IR one, allows different types for the sign and magnitude. We can reduce the bitwidth of the high operand since only the sign bit matters. The default combine only introduces mixed fcopysign operand types from fpext/fptrunc. We effectively do this already during selection, but doing it earlier in the combiner should expose new combine opportunities (e.g. the existing tests now eliminate the load of the low half of the double). Unfortunately this isn't enough to handle the case I'm interested in just yet.
-
Yuanfang Chen authored
Following up D127259. Fixes https://github.com/llvm/llvm-project/issues/61028.
-
Matt Arsenault authored
I initially attempted to select the source modifier from xor of a sign mask. This proved to be more difficult since foldBinOpIntoSelect does not consider free fneg of integers and undoes the combine.
-
Nikolas Klauser authored
Reviewed By: ldionne, #libc, emaste, daltenty Spies: fsb4000, daltenty, alvinhochun, goncharov, phosek, MaskRay, dalias, q66, thesamesam, emaste, libcxx-commits, arphaman, mstorsjo, #libc_vendors Differential Revision: https://reviews.llvm.org/D140343
-
Matt Arsenault authored
The default argument behavior test tries to make use of the default reduced.ll, so other tests should not try to write to the same file. Maybe fixes issue #61132.
-
Egor Suvorov authored
This is a preparation for future fixes that need more tests. * Put all "Inferred Assignments" testing at the end * Group together ID-dependent variable/member testing * Group together unused inferred assignments * Use a literal instead of `get_local_size` which may have special meaning * Create a new `struct` for each variable because analysis is done per field, not per field per instance. Depends on D145303 Reviewed By: carlosgalvezp Differential Revision: https://reviews.llvm.org/D145304
-
Fangrui Song authored
The two macros were removed by https://mail-index.netbsd.org/source-changes/2022/12/21/msg142441.html Close #61151
-
Mike Crowe authored
In preparation for using the implementation of basic_string and basic_string_view from redundant-string-cstr.cpp in other checks, let's extract it to a header. Using the existing <string.h> to provide size_t, using that to define size_type and using it rather than the previous "size" type makes it easier to provide the size() method later and makes the implementation closer to the standard. Reviewed By: carlosgalvezp Differential Revision: https://reviews.llvm.org/D144216
-
David Green authored
Similar to the inserts, these are the same fp16 inserts but were missing patterns.
-
David Green authored
These should be identical to the fp16 SVE inserts but were missing from the tests and tablegen patterns. They are always legal (not requiring +bf16), although there are some other issues around bf16 legalization currently.
-
Egor Suvorov authored
In Clang notes are typically printed after a corresponding warning, not before. For example, all notes issued before the first warning are ignored. Running `clang-tidy --checks=-*,altera-id-dependent-backward-branch a.cpp` on the following code: ``` long get_local_id(int); void error() { int ThreadID = get_local_id(0); for (int i = 0; i < ThreadID; i++) { } for (int i = 0; i < ThreadID; i++) { } } ``` results in two warnings and a single note in between. Reviewed By: carlosgalvezp Differential Revision: https://reviews.llvm.org/D145303
-
- Mar 05, 2023
-
-
Jacques Pienaar authored
scf.for loop was restricted to only operate on Index type since splitting out from affine.for. Relax requirement to allow for signless integer types additionally. This allows specifying explicitly different bitwidths for different loops as well as specialize from index to iN while still using scf.for. Differential Revision: https://reviews.llvm.org/D145288
-
Nikolas Klauser authored
-
Luís Marques authored
To have line number information in stack traces (per stack frame) it's necessary to implement findModulesAndOffsets. Differential Revision: https://reviews.llvm.org/D142282
-
Timm Bäder authored
This reverts commit 78e42374. This breaks the memory sanitizer builder: https://lab.llvm.org/buildbot/#/builders/5/builds/31959
-
Florian Hahn authored
Handle VPWidenCallRecipe in VPRecipeBase::mayHaveSideEffects by delegating to the underlying call.
-
Timm Bäder authored
Use the existing local variable cleanup infrastructure to implement destruction. Differential Revision: https://reviews.llvm.org/D137070
-
Timm Bäder authored
-
Kazu Hirata authored
This patch precommits more tests for: https://github.com/llvm/llvm-project/issues/60802
-
Jay Foad authored
This just tweaks the fix for D145232 to make the limit more precise, so that we could actually emit a delay of 3 SALU cycles (the maximum) if we had any SALU instructions that required it.
-
Siva Chandra Reddy authored
Reviewed By: michaelrj Differential Revision: https://reviews.llvm.org/D145274
-
Dave Lee authored
This applies to IsClassMethod as well.
-
Siva Chandra Reddy authored
-
Siva Chandra Reddy authored
The integration tests already have allocators so we will get all of them from there.
-
Tulio Leao authored
While browsing the latest [clang manual](https://clang.llvm.org/docs/ReleaseNotes.html), I came across this warning and clicked, but it leads to a broken page, apparently because it's missing the trailing `/`. Seems to be the only place where it's missing in the whole of LLVM monorepo. {F26690053} {F26690057} Reviewed By: brenoguim, royjacobson Differential Revision: https://reviews.llvm.org/D145047
-
Kazu Hirata authored
-