- Jun 24, 2022
-
-
David Green authored
-
Vassil Vassilev authored
The asan issue was fixed in llvm/llvm-project@7bc00ce5cd41 This reverts commit 575e297f. Differential revision: https://reviews.llvm.org/D123674
-
Petr Hosek authored
This reverts commit c0d4f228 which broke clang-x86_64-debian-fast: https://lab.llvm.org/buildbot/#/builders/109/builds/41268
-
Siva Chandra Reddy authored
This enables setting up a single "self" thread object to be returned by API like thrd_self and pthread_self.
-
Cullen Rhodes authored
-
Florian Hahn authored
This allows VPlanTransforms to query the VFs included in the plan in the future.
-
Petr Hosek authored
We no longer support the use of LLVM_ENABLE_PROJECTS for libcxx and libcxxabi. We don't use paths to libcxx and libcxxabi in compiler-rt. Differential Revision: https://reviews.llvm.org/D126905
-
Matt Devereau authored
-
Fangrui Song authored
-
Peixin-Qiao authored
This supports the lowering of copyin clause initially. The pointer, allocatable, common block, polymorphic varaibles will be supported later. This also includes the following changes: 1. Resolve the COPYIN clause and make the entity as host associated. 2. Fix collectSymbolSet by adding one option to control collecting the symbol itself or ultimate symbol of it so that it can be used explicitly differentiate the host and associated variables in host-association. 3. Add one helper function `lookupOneLevelUpSymbol` to differentiate the usage of host and associated variables explicitly. The previous lowering of firstprivate depends on the order of `createHostAssociateVarClone` and `lookupSymbol` of host symbol. With this fix, this dependence is removed. 4. Reuse `copyHostAssociateVar` for copying operation of COPYIN clause. Reviewed By: kiranchandramohan, NimishMishra Differential Revision: https://reviews.llvm.org/D127468
-
Florian Hahn authored
This reverts commit 94ed2caf. The issue with no-determinism with the test has been fixed in d9526e8a.
-
Valentin Clement authored
PURE keyword should be kept in `__fortran_ieee_exceptions.f90` and `ieee_arithmetic.f90` and not removed as done in https://reviews.llvm.org/D128431 Reviewed By: vdonaldson Differential Revision: https://reviews.llvm.org/D128498
-
Valentin Clement authored
When there is a substring operation on a scalar assignment in a FORALL context, we have to lower the entire substring and not the entire CHARACTER variable. This patch is part of the upstreaming effort from fir-dev branch. Reviewed By: PeteSteinfeld, klausler Differential Revision: https://reviews.llvm.org/D128459 Co-authored-by:
Eric Schweitz <eschweitz@nvidia.com>
-
Fangrui Song authored
-
Craig Topper authored
This patch adds 3 new _VL RISCVISD opcodes to represent VFMA_VL with different portions negated. It also adds a DAG combine to peek through FNEG_VL to create these new opcodes. This is modeled after similar code from X86. This makes the isel patterns more regular and reduces the size of the isel table by ~37K. The test changes look like regressions, but they point to a bug that was already there. We aren't able to commute a masked FMA instruction to improve register allocation because we always use a mask undisturbed policy. Prior to this patch we matched two multiply operands in a different order and hid this issue for these test cases, but a different test still could have encountered it. Reviewed By: frasercrmck Differential Revision: https://reviews.llvm.org/D128310
-
Petr Hosek authored
This avoids the need for string-ification and lets CMake deduplicate potentially duplicate flags. Differential Revision: https://reviews.llvm.org/D122750
-
Fangrui Song authored
-
Hui Xie authored
[libc++] P2321R2 section [tuple.tuple]. Adding C++23 constructors, assignment operators and swaps to `tuple` 1. for constructors that takes cvref variation of tuple<UTypes...>, there used to be two SFINAE helper _EnableCopyFromOtherTuple, _EnableMoveFromOtherTuple. And the implementations of these two helpers seem to slightly differ from the spec. But now, we need 4 variations. Instead of adding another two, this change refactored it to a single one _EnableCtrFromUTypesTuple, which directly maps to the spec without changing the C++11 behaviour. However, we need the helper __copy_cvref_t to get the type of std::get<i>(cvref tuple<Utypes...>) for different cvref, so I made __copy_cvref_t to be available in C++11. 2. for constructors that takes variations of std::pair, there used to be four helpers _EnableExplicitCopyFromPair, _EnableImplicitCopyFromPair, _EnableImplicitMoveFromPair, _EnableExplicitMoveFromPair. Instead of adding another four, this change refactored into two helper _EnableCtrFromPair and _BothImplicitlyConvertible. This also removes the need to use _nat 3. for const member assignment operator, since the requirement is very simple, I haven't refactored the old code but instead directly adding the new c++23 code. 4. for const swap, I pretty much copy pasted the non-const version to make these overloads look consistent 5. while doing these change, I found two of the old constructors wasn't marked constexpr for C++20 but they should. fixed them and added unit tests Reviewed By: #libc, ldionne Differential Revision: https://reviews.llvm.org/D116621
-
Venkata Ramanaiah Nalamothu authored
The `DW_AT_LLVM_address_space` attribute is mentioned as `DW_AT_address_space` in one of the notes. Reviewed By: scott.linder Differential Revision: https://reviews.llvm.org/D128210
-
Amir Ayupov authored
Replace `std::` algorithms taking begin/end iterators with `llvm::` counterparts accepting ranges. Reviewed By: rafauler Differential Revision: https://reviews.llvm.org/D128154
-
Serguei Katkov authored
-
Carl Ritson authored
If an instruction is sunk into a loop then any kill flags on operands declared outside the loop must be cleared as these will be live for all loop iterations. Fixes #46827 Reviewed By: MatzeB Differential Revision: https://reviews.llvm.org/D126754
-
Douglas Yung authored
This reverts commit 8b987ca5. This change breaks several Windows bots - https://lab.llvm.org/buildbot/#/builders/123/builds/11371 - https://lab.llvm.org/buildbot/#/builders/117/builds/7685 - https://lab.llvm.org/buildbot/#/builders/42/builds/6077 - https://lab.llvm.org/buildbot/#/builders/216/builds/6340
-
Kai Luo authored
Fixes build https://lab.llvm.org/buildbot/#/builders/214/builds/1980.
-
Lian Wang authored
Reviewed By: craig.topper, david-arm Differential Revision: https://reviews.llvm.org/D128038
-
Kai Luo authored
In the context of atomic load, integer, pointer and float point types are allowed, thus we should allow llvm.ppc.cfence to accept any type mentioned. Fixes https://github.com/llvm/llvm-project/issues/55983. Reviewed By: shchenz, vchuravy Differential Revision: https://reviews.llvm.org/D127554
-
Lian Wang authored
Reviewed By: craig.topper Differential Revision: https://reviews.llvm.org/D128239
-
Lei Zhang authored
spv.bitcast from a vector to a scalar expects the lower-numbered components of the the vector to map to the lower-ordered bits of the scalar. That actually already matches how little endian stores data in the memory. So we just need to read and push to the back of the vector sequentially. Reviewed By: hanchung Differential Revision: https://reviews.llvm.org/D128473
-
Casey Carter authored
-
Dmitri Gribenko authored
Use the if/while statement right paren location instead of the end of the condition expression to determine if the semicolon is on its own line, for the purpose of not warning about code like this: while (foo()) ; Using the condition location meant that we would also not report a warning on code like this: while (MACRO(a, b)); body(); The right paren loc wasn't stored in the AST or passed into Sema::ActOnIfStmt when this logic was first written. Reviewed By: rnk, gribozavr2 Differential Revision: https://reviews.llvm.org/D128406 -
Greg Clayton authored
An upcoming patch to LLDB will require the ability to decode base64. This patch adds support for decoding base64 and adds tests. Differential Revision: https://reviews.llvm.org/D126254
-
Evgenii Stepanov authored
llvm/lib/Analysis/LoopCacheAnalysis.cpp:702:30: runtime error: signed integer overflow: 6148914691236517209 * 100 cannot be represented in type 'long' https://lab.llvm.org/buildbot/#/builders/5/builds/25185 This reverts commit 1b24fe34.
-
Frederik Gossen authored
Add the reverse functions to the ViewLikeInterface's functions `getMixedStrides`, `getMixedSizes`, and `getMixedOffsets`. The new functions are useful to build view-like operations from an array of mixed static/dynamic values. Differential Revision: https://reviews.llvm.org/D128376
-
Philip Reames authored
-
Daniel Bertalan authored
-
Jonas Devlieghere authored
Support stripping the PAC bits from Objective-C ISA pointers in the Objective-C runtime plugin.
-
Hui Xie authored
Revert "[libc++] P2321R2 section [tuple.tuple]. Adding C++23 constructors, assignment operators and swaps to `tuple`" When merging the changes of <type_traits> header with the commits on this header over the last month, several conflicts were mistaken resolved and the wrong branch was picked while resolving conflicts, which leads to CI failure. In order to resolve the conflicts properly with qualification CI job, this change is reverted. This reverts commit 95733a55.
-
Derek Schuff authored
When parsing name and linking sections, we currently require that the object must have a code section (it seems that this was intended to verify section ordering). However it can be useful for binaries to have their code sections stripped out (e.g. if we just want the debug info). In that case we need the rest of the known sections (so e.g. we know how many functions there are, to verify the name section) but not the actual code. I've removed the restriction completely. I think this is OK because the section-parsing code already checks function and global indices in many places for validity and will return appropriate errors if the relevant sections are missing. Also we can't just replace the requirement of seeing a code section with a requirement that we see a function or global section, because a binary may just not have any functions or globals. But there's only an problem if the name or linking section tries to name a nonexistent function. Part of a fix for https://github.com/emscripten-core/emscripten/issues/13084 Differential Revision: https://reviews.llvm.org/D128094
-
Chelsea Cassanova authored
This makes the LLDB fuzzers write their fuzzer artifacts to their own directory in the build directory. It also adds an artifact prefix to the target fuzzer to make it easier to tell which fuzzer wrote the artifact. Differential revision: https://reviews.llvm.org/D128450
-
Jim Ingham authored
Fix it so it says it does what it does.
-