- May 29, 2021
-
-
Marek Kurdej authored
Forgotten in commits fce8c10b, 9363aa90, 8d93d7ff.
-
Eli Friedman authored
If a cmpxchg specifies acquire or seq_cst on failure, make sure we generate code consistent with that ordering even if the success ordering is not acquire/seq_cst. At one point, it was ambiguous whether this sort of construct was valid, but the C++ standad and LLVM now accept arbitrary combinations of success/failure orderings. This doesn't address the corresponding issue in AtomicExpand. (This was reported as https://bugs.llvm.org/show_bug.cgi?id=33332 .) Fixes https://bugs.llvm.org/show_bug.cgi?id=50512. Differential Revision: https://reviews.llvm.org/D103284
-
Nico Weber authored
-
Arthur O'Dwyer authored
This should have been done in D96385; thanks ldionne for the catch! Also, make the back/front inserter behavior tests a little more thorough, which incidentally caught a cut-and-paste-bug in `nasty_list`, so fix that. Differential Revision: https://reviews.llvm.org/D103318
-
LLVM GN Syncbot authored
-
Craig Topper authored
octuple_from_str was always used with the MX field from an LMULInfo. Might as well just precompute it and put it in the class.
-
Nico Weber authored
This reverts commit dc672999. Breaks check-clang everywhere, see https://reviews.llvm.org/D91630
-
Craig Topper authored
Parameter positions seem like they should be unsigned. While there, make function names lowercase per coding standards. Reviewed By: frasercrmck Differential Revision: https://reviews.llvm.org/D103224
-
Craig Topper authored
-
Florian Hahn authored
We need to make sure that the indices of all extracts we scalarize are valid.
-
Florian Hahn authored
-
Stefan Pintilie authored
Revert "Return "[LoopDeletion] Break backedge if we can prove that the loop is exited on 1st iteration" (try 2)" This reverts commit be1a2320.
-
Stefan Pintilie authored
Revert "[NFCI][LoopDeletion] Only query SCEV about loop successor if another successor is also in loop" This reverts commit b0b2bf3b.
-
Stefan Pintilie authored
This reverts commit 59d938e6.
-
Stefan Pintilie authored
This reverts commit c4675856.
-
Stefan Pintilie authored
This reverts commit 7d418dad.
-
Sanjay Patel authored
This is split off from D102002, and I think it is clear that the difference in behavior was not intended. Options were added to SimplifyCFG over time, but different chunks of the pass pipelines were not kept in sync.
-
Sanjay Patel authored
Part of D102002
-
Florian Hahn authored
Tests for PR50511.
-
Louis Dionne authored
-
Jacques Pienaar authored
-
Erik Pilkington authored
Differential Revision: https://reviews.llvm.org/D91630
-
- May 28, 2021
-
-
Nemanja Ivanovic authored
Revert "Fix "enumerator 'llvm::TargetStackID::WasmLocal' in switch of enum 'llvm::TargetStackID::Value' is not handled" MSVC warnings. NFCI." Since ca5f07f8 already reverted the cause for this warning, this commit now causes warnings about a default label in a switch that covers the enum. This reverts commit cf2eeb11.
-
eopXD authored
This patch changes LoopFlattenPass from FunctionPass to LoopNestPass. Utilize LoopNest and let function 'Flatten' generate information from it. Reviewed By: Whitney Differential Revision: https://reviews.llvm.org/D102904
-
David Stenberg authored
TypeFinder did not find types under DIArgList. This resulted in a case of invalid IR after GlobalOpt removed a global that was the only non-DIArgList use of a struct type. error: use of undefined type named 'struct.S' call void @llvm.dbg.value( metadata !DIArgList([1 x %struct.S]* undef, i64 %idxprom), metadata !24, metadata !DIExpression([...])) Reviewed By: jmorse Differential Revision: https://reviews.llvm.org/D103306 -
Reid Kleckner authored
Apparently ubsan errors are non-fatal by default. If you introduce UB into LLVM and run the tests, if errors are not fatal, the test will still produce the expected output and the tests will pass. In order to make ubsan errors show up as test failures, they have to be made fatal. Pass the -fno-sanitize-recover=all flag to make it so. Differential Revision: https://reviews.llvm.org/D103298
-
LLVM GN Syncbot authored
-
Louis Dionne authored
Differential Revision: https://reviews.llvm.org/D101277
-
Alexandre Ganea authored
Before this patch, the maximum size of the GHASH table was 2^31 buckets. However we were storing the bucket index into a TypeIndex which has an input limit of (2^31)-4095 indices, see this link. Any value above that limit will improperly set the TypeIndex's high bit, which is interpreted as DecoratedItemIdMask. This used to cause bad indices on extraction when calling TypeIndex::toArrayIndex(). Differential Revision: https://reviews.llvm.org/D103297
-
Florian Hahn authored
-
Jan Svoboda authored
This patch replaces a `std::pair` by a proper struct in `InitHeaderSearch`. This will be useful in a follow-up: D102923. Reviewed By: dexonsmith Differential Revision: https://reviews.llvm.org/D102924
-
Nico Weber authored
-
Florian Hahn authored
At the moment, the matrix support in CheckCXXCStyleCast (added in D101696) breaks function-style constructor calls that take a single matrix value, because it is treated as matrix cast. Instead, unify the C++ matrix cast handling by moving the logic to TryStaticCast and only handle the case where both types are matrix types. Otherwise, fall back to the generic mis-match detection. Suggested by @rjmccall Reviewed By: SaurabhJha Differential Revision: https://reviews.llvm.org/D103163
-
Sanjay Patel authored
Additional test coverage for D103280.
-
Simon Pilgrim authored
Fix "enumerator 'llvm::TargetStackID::WasmLocal' in switch of enum 'llvm::TargetStackID::Value' is not handled" MSVC warnings. NFCI.
-
Fraser Cormack authored
-
Fraser Cormack authored
These fixed-length versions don't crash unlike the corresponding scalable ones, but the code generation is scalarized. An imminent patch will support scalable-vector conversions and improve the codegen for these fixed-length conversions.
-
Tim Northover authored
Expected to be used by Swift runtime developers.
-
Lei Zhang authored
Reviewed By: mehdi_amini Differential Revision: https://reviews.llvm.org/D103264
-
Andy Wingo authored
This reverts commit 00ecf189, as it broke the AMDGPU build. Will reland later with a fix.
-