- Aug 12, 2022
-
-
Nico Weber authored
This is fairly manual for now. Differential Revision: https://reviews.llvm.org/D131710
-
Arthur Eubanks authored
-
Craig Topper authored
Since -1 is the maximum unsigned value, all values less than it are not equal to it.
-
Shafik Yaghmour authored
Ok it looks like this is a bit more subtle, I broke the llvm-test-suite file paq8p.cpp again. We need both conditions to be true Info.EvalMode == EvalInfo::EM_ConstantExpression && Info.InConstantContext. We need to be in a context that requires a constant value but also in a constant expression context. Differential Revision: https://reviews.llvm.org/D131704
-
Dave Lee authored
A spiritual follow up to D131032. I noticed some regex could be simplified. This does some of the following: 1. Removes unused capture groups 2. Uses non-capturing `(?:...)` groups where grouping is needed but capturing isn't 3. Removes trailing `.*` 4. Uses `\d` over `[0-9]` 5. Uses raw strings 6. Uses `{N,}` to indicate N-or-more Also improves the call site of a `re.findall`. Differential Revision: https://reviews.llvm.org/D131305 -
Martin Storsjö authored
Since c5b3de67 (git main, August 11th), Clang does generate working hidden visibility on MinGW targets. Using that reduces the number of exports from a dylib build of LLVM significantly, which is vital for fitting within the limit of 64k exported symbols from a DLL. It's essential that if we set CMAKE_CXX_VISIBILITY_PRESET=hidden (which passes -fvisibility=hidden on the command line), we also must define LLVM_EXTERNAL_VISIBILITY consistently to override it. (If there are mismatches, e.g. setting hidden visibility generally but never overriding it back to default for the symbols that do need to be exported, we'd get broken builds in such configurations.) We don't want to be using __attribute__((visibility("hidden"))) on MinGW with GCC, because GCC produces a warning about it. (GCC hasn't warned about the command line options that set hidden visibility though.) Clang has historically not warned about either of ...
-
Martin Storsjö authored
-
Vitaly Buka authored
Reviewed By: kda Differential Revision: https://reviews.llvm.org/D131721
-
Vitaly Buka authored
Reviewed By: kda Differential Revision: https://reviews.llvm.org/D131692
-
Craig Topper authored
Including patterns to select addiw if only the lower 32 bits are used. I'm not excited about adding this many patterns. I'm looking at whether we can create the xori during lowering and move the ineg patterns to DAGCombiner.
-
Shafik Yaghmour authored
In D131528 using Info.EvalMode == EvalInfo::EM_ConstantExpression is not strict enough to restrict the diagnostic to only constant expression contexts. It is sometimes set in cases where we are still determining if we are in a constant expression context. Using InConstantContext will tighten the restriction. Differential Revision: https://reviews.llvm.org/D131704
-
Jonathan Peyton authored
Serialized parallels allocate lightweight task teams on the heap but never free them in the corresponding join. This patch adds a wrapper around the allocation (if ompt enabled) and also adds the corresponding free in the join call. Differential Revision: https://reviews.llvm.org/D131690
-
Vladimir Plyashkun authored
It seems that documentation for abseil-no-internal-dependencies has invalid title. This can be checked by looking at the actual web-site - https://clang.llvm.org/extra/clang-tidy/checks/abseil/no-internal-dependencies.html There is redundant "subl.. title:: clang-tidy - abseil-no-internal-dependencies" paragraph in the beginning. Reviewed By: njames93, sylvestre.ledru Differential Revision: https://reviews.llvm.org/D131590
-
Philip Reames authored
-
Jonas Devlieghere authored
I accidentally forgot to stage part of the changes in the previous commit.
-
Jonas Devlieghere authored
Simplify the test's source code, remove unnecessary headers, and convert it from C++ to C.
-
Louis Dionne authored
Also, add missing tests for assertions in span constructors. Now I believe that all of std::span's API should be hardened, and all the assertions should have a corresponding test. Differential Revision: https://reviews.llvm.org/D131681
-
Siva Chandra Reddy authored
First argument to thrd_join was incorrectly listed as a pointer to a thrd_t value. It should instead be a thrd_t value argument.
-
Arnold Schwaighofer authored
Coroutine splitting is not possible if the one-to-one mapping between the two is lost. Every suspend point must have a matching continuation function pointer. rdar://98404664 Differential Revision: https://reviews.llvm.org/D131684
-
Valentin Clement authored
Location information was not correctly propagated when creating OpenACC operations. This patch propagate the correct location information from the parse tree nodes to OpenACC MLIR operations. Reviewed By: razvanlupusoru Differential Revision: https://reviews.llvm.org/D131659
-
Denys Petrov authored
-
Nikolas Klauser authored
Reviewed By: ldionne, Mordante, #libc Spies: libcxx-commits Differential Revision: https://reviews.llvm.org/D130848
-
Vir Narula authored
Add more tests with varied strides. Changes to lowering upcoming in https://reviews.llvm.org/D131125 Reviewed By: fhahn Differential Revision: https://reviews.llvm.org/D131444
-
Fangrui Song authored
Reviewed By: kazu Differential Revision: https://reviews.llvm.org/D131695
-
Walter Erquinigo authored
Pavel Labath taught me that clang-format sorts headers automatically using llvm's rules, and it's better not to have spaces between So in this diff I'm removing those spaces and formatting them as well. I used `clang-format -i` to format these files.
-
Alex Bradbury authored
As reported in <https://github.com/llvm/llvm-project/issues/57084>, under hard float ABIs there are issues with lowering structs that inherit from other structs. See <https://reviews.llvm.org/D131677> for a fix.
-
Aaron Ballman authored
Clang currently crashes when lowering a consteval list initialization of a temporary. This is partially working around an issue in the template instantiation code (TreeTransform::TransformCXXTemporaryObjectExpr()) that does not yet know how to handle list initialization of temporaries in all cases. However, it's also helping reduce fragility by ensuring we always have a valid QualType when trying to emit a constant expression during IR generation. Fixes #55871 Differential Revision: https://reviews.llvm.org/D131194
-
Fangrui Song authored
The function added by D9467 is unneeded. https://github.com/android/ndk/wiki/Changelog-r24 shows that the NDK has moved forward to at least a minimum target API of 19. Reviewed By: srhines Differential Revision: https://reviews.llvm.org/D131656
-
Fangrui Song authored
-
Brett Wilson authored
Struct/class data members did not have the comments associated with them. This adds that information to the MemberTypeInfo class and emits it in the YAML. This does not update the frontends yet. Reviewed By: paulkirth Differential Revision: https://reviews.llvm.org/D131298
-
Craig Topper authored
Instead of having separate implementations for RV32 and RV64, use the triple to control the Is64Bit parameter. Do the same for isValidTuneCPUName, fillValidCPUList, and fillValidTuneCPUList.
-
Marc Auberer authored
Removes duplicated names as recommended here: https://llvm.org/docs/CodingStandards.html#doxygen-use-in-documentation-comments Reviewed By: MaskRay Differential Revision: https://reviews.llvm.org/D131193
-
Vitaly Buka authored
On most platforms it does nothing, so this eliminates a need for one #if.
-
Vitaly Buka authored
-
Simon Pilgrim authored
lowerShuffleWithVPMOV currently only matches shuffle(truncate(x)) patterns, but on VLX targets the truncate isn't usually necessary to make the VPMOV node worthwhile (as we're only targetting v16i8/v8i16 shuffles we're almost always ending up with a PSHUFB node instead). PACKSS/PACKUS are still preferred vs VPMOV due to their lower uop count. Fixes the remaining regression from the fixes in rG293899c6
-
Mike Rice authored
Previously a diagnostic was given if the expression was not strictly a DeclRef. Now also allow use of data members inside member functions. Differential Revision: https://reviews.llvm.org/D131222
-
Augusto Noronha authored
Differential Revision: https://reviews.llvm.org/D131531
-
Simon Pilgrim authored
-
Kevin P. Neal authored
My most recent change for D131607 had a formatting error that I didn't notice until after I committed it. Let me fix it now so changes to this file will be back-to-back from me.
-
- Aug 11, 2022
-
-
Sanjay Patel authored
We manage to iteratively achieve this result with no extra uses, and the reassociate pass can also do this, but this pattern falls through the cracks in the example from issue #57053.
-