- Jan 21, 2023
-
-
Nikita Popov authored
These were broken by dfb0581b.
-
Florian Hahn authored
-
Alex Zinenko authored
-
- Jan 20, 2023
-
-
OCHyams authored
Follow-up for 4ece5073 (D142027). Assignment Tracking Analysis now always runs and is skipped internally if assignment tracking is disabled. Update these tests to expect to see the pass run. Buildbot failure: https://lab.llvm.org/buildbot/#/builders/57/builds/24094
-
Nuno Lopes authored
-
Dave Lee authored
Disable this test on Ubuntu 18.04, where it fails for yet to be determined reasons. Differential Revision: https://reviews.llvm.org/D142141
-
Shilei Tian authored
The test `openmp/runtime/test/atomic/kmp_atomic_float10_max_min.c` uses a compiler flag `-mlong-double-80` that might not be supported by all targets. Currently it requires `x86-registered-target`, but that requirement can be true when LLVM supports X86 while the actual `libomp` arch is not X86. For example, when LLVM is built on AArch64 with all targets enabled, `x86-registered-target` can be met. If `libomp` is built with native target, aka. AArch64, the test will still be enabled, causing test failure. This patch only enables the test if the actual target is X86. The actual target is determined by `LIBOMP_ARCH`. Fix #53696. Reviewed By: jlpeyton Differential Revision: https://reviews.llvm.org/D142172
-
Frederik Gossen authored
Instead, use the builder and infer the return type based on the inner `yield` ops. Also, fix uses that do not create the terminator as required for the callback builders. Differential Revision: https://reviews.llvm.org/D142056
-
Nikita Popov authored
After D141386 !nonnull violation returns poison rather than resulting in immediate undefined behavior. However, converting it into an assume would result in IUB. As such, we can only perform this transform if !noundef is also present.
-
Frederik Gossen authored
Differential Revision: https://reviews.llvm.org/D142155
-
Alexey Lapshin authored
This patch is extracted from D96035. It creates an empty library DWARFLinkerParallel. Reviewed By: JDevlieghere Differential Revision: https://reviews.llvm.org/D140787
-
Christian Ulmann authored
This commit extends the LLVMIR import to support function attributes by adding them to the passthrough array attribute. Depends on D142013 Reviewed By: gysit Differential Revision: https://reviews.llvm.org/D142098
-
Johannes de Fine Licht authored
Extend `LLVMInlinerInterface` to handle calls from an `LLVM::CallOp` to an `LLVM::FuncOp` when there are no attributes present that require special handling. Depends on D141676 Reviewed By: gysit Differential Revision: https://reviews.llvm.org/D141682
-
Richard Howell authored
Refactor the `Module::Header` class to use an `OptionalFileEntryRef` instead of a `FileEntry*`. This is preparation for refactoring the `TopHeaderNames` to use `FileEntryRef` so that we preserve the lookup path of the headers when serializing. This is mostly based on https://reviews.llvm.org/D90497 Reviewed By: jansvoboda11 Differential Revision: https://reviews.llvm.org/D142113
-
Dmitry Vyukov authored
There are no intrinsic functions that leak arguments. If the called function does not return, the current function does not return as well, so no possibility of use-after-return. Sanitizer function also don't leak or don't return. It's safe to both pass pointers to local variables to them and to tail-call them. Reviewed By: melver Differential Revision: https://reviews.llvm.org/D142190
-
OCHyams authored
Follow-up for 4ece5073 (D142027). Assignment Tracking Analysis now always runs and is skipped internally if assignment tracking is disabled. Update these tests to expect to see the pass run. Buildbot failure: https://lab.llvm.org/buildbot/#/builders/216/builds/16085
-
David Truby authored
This patch relies on D141286 for the runtime implementation of move_alloc. Reviewed By: jeanPerier Differential Revision: https://reviews.llvm.org/D141616
-
Tom Eccles authored
Since https://reviews.llvm.org/D142053, building mlir with clang using -Werror fails reporting comparison of integers with different signs. Fix this by using unsigned return types for RelayoutOp::getSourceRank,getDestRank Differential Revision: https://reviews.llvm.org/D142201
-
Mircea Trofin authored
This leverages the new logging format in that we don't need to buffer the training data, we can just write it out. Differential Revision: https://reviews.llvm.org/D142168
-
Simon Pilgrim authored
[DAG] visitINSERT_VECTOR_ELT - move mergeInsertEltWithShuffle / combineInsertEltToShuffle folds after canonicalization Noticed while triaging D127115 regressions - there's no need to attempt these costly folds until after the easy canonicalization cases have been addressed
-
Jannik Silvanus authored
An llc lit test used overaligned i8, apparently originating from the old DXIL data layout. The new DXIL data layout uses naturally aligned i8. llc ignores the data layout of a module and instead sets the data layout based on the target. Change the data layout string in the test to match that target-derived data layout.
-
Jannik Silvanus authored
A lit test used overaligned i8, apparently due to an old copy-paste error, intending to specify i16 alignment. Change the datalayout string to use naturally aligned i8.
-
Jannik Silvanus authored
A lit test used overaligned i8, apparently due to an old copy-paste error, intending to specify i32 alignment. Change the datalayout string to use naturally aligned i8.
-
Jannik Silvanus authored
Two lit test used overaligned i8, without the test case actually depending on i8 alignment. Change the datalayout string to use naturally aligned i8, preparing for the upcoming requirement of naturally aligned i8.
-
wanglei authored
-
Jeremy Morse authored
Add a flag state (and a MIR key) to MachineFunctions indicating whether they contain instruction referencing debug-info or not. Whether DBG_VALUEs or DBG_INSTR_REFs are used needs to be determined by LiveDebugValues at least, and using the current optimisation level as a proxy is proving unreliable. Test updates are purely adding the flag to tests, in a couple of cases it involves separating out VarLocBasedLDV/InstrRefBasedLDV tests into separate files, as they can no longer share the same input. Differential Revision: https://reviews.llvm.org/D141387
-
Shilei Tian authored
`__kmpc_parallel_level` used to be a function w/o any argument, but in the new device runtime, it accepts two. This patch simply corrects it in `OMPKinds.def`. ``` uint16_t __kmpc_parallel_level(IdentTy *Loc, uint32_t); ``` Reviewed By: jhuber6 Differential Revision: https://reviews.llvm.org/D141655
-
Nikita Popov authored
-
OCHyams authored
This change allows `-fexperimental-assignment-tracking` to be negated using the negative equivalent `-fno-experimental-assignment-tracking`, and fixes the flag so that the default behaviour can be changed (currently the default is still false / disabled). Reviewed By: StephenTozer Differential Revision: https://reviews.llvm.org/D142029
-
David Green authored
This fixes the cmov fold from 90f24bef, where the condition needs to be inverted between the cmov and the csinc.
-
OCHyams authored
The iterator `FirstOverlap` is invalidated after the call to `insert` - avoid dereferencing the iterator after the call to `insert`. Reviewed By: CarlosAlbertoEnciso Differential Revision: https://reviews.llvm.org/D141854
-
Nikita Popov authored
In copyRangeMetadata() and by extension copyLoadMetadata(), handle the trivial case where the type did not change, in which case we can simply preserve the range metadata as is.
-
OCHyams authored
Remove LLVM flag -experimental-assignment-tracking. Assignment tracking is still enabled from Clang with the command line -Xclang -fexperimental-assignment-tracking which tells Clang to ask LLVM to run the pass declare-to-assign. That pass converts conventional debug intrinsics to assignment tracking metadata. With this patch it now also sets a module flag debug-info-assignment-tracking with the value `i1 true` (using the flag conflict rule `Max` since enabling assignment tracking on IR that contains only conventional debug intrinsics should cause no issues). Update the docs and tests too. Reviewed By: CarlosAlbertoEnciso Differential Revision: https://reviews.llvm.org/D142027
-
Nikita Popov authored
Instead of copying just nonnull metadata, use the generic helper to copy metadata to the new load. This helper is specifically designed for the case where the load type may change, so it's safe to use in this context.
-
Benjamin Kramer authored
This just works, no reason to disallow it. Differential Revision: https://reviews.llvm.org/D142137
-
Kadir Cetinkaya authored
This was regressed in ca619613. As we attached InitExprs as-is to the AST, without performing transformations. Differential Revision: https://reviews.llvm.org/D142187
-
Nikita Popov authored
-
Serge Pavlov authored
Differential Revision: https://reviews.llvm.org/D142001
-
Backl1ght authored
fix https://github.com/llvm/llvm-project/issues/59930 Differential Revision: https://reviews.llvm.org/D141694
-
OCHyams authored
-