- Aug 10, 2021
-
-
Fangrui Song authored
Reviewed By: benshi001, mhjacobson Differential Revision: https://reviews.llvm.org/D107797
-
Matthias Springer authored
The following constructor call (and others) used to be ambiguous: ``` FlatAffineConstraints constraints(0, 0, 0); ``` Differential Revision: https://reviews.llvm.org/D107726
-
Matthias Springer authored
This is in preparation of a larger refactoring that makes the changes in D107221 obsolete. Differential Revision: https://reviews.llvm.org/D107724
-
Ettore Tiotto authored
Code added by D106688 has a problem. It passes the option -bxyz to the system linker as -b xyz xyz (duplication of the string 'xyz' is incorrect). This patch fixes that oversight. Reviewed by: hubert.reinterpretcast, jsji Differential Revision: https://reviews.llvm.org/D107786
-
Anshil Gandhi authored
This patch allows target specific addr space in target builtins for HIP. It inserts implicit addr space cast for non-generic pointer to generic pointer in general, and inserts implicit addr space cast for generic to non-generic for target builtin arguments only. It is NFC for non-HIP languages. Differential Revision: https://reviews.llvm.org/D102405
-
LLVM GN Syncbot authored
-
zoecarver authored
Differential Revision: https://reviews.llvm.org/D107096
-
Louis Dionne authored
That's not necessary anymore, since we always build the dylib with C++11 capabilities nowadays. Differential Revision: https://reviews.llvm.org/D107772
-
Usman Nadeem authored
Replace vector unpack operation with a scalar extend operation. unpack(splat(X)) --> splat(extend(X)) If we have both, unpkhi and unpklo, for the same vector then we may save a register in some cases, e.g: Hi = unpkhi (splat(X)) Lo = unpklo(splat(X)) --> Hi = Lo = splat(extend(X)) Differential Revision: https://reviews.llvm.org/D106929 Change-Id: I77c5c201131e3a50de1cdccbdcf84420f5b2244b
-
Usman Nadeem authored
Move the last{a,b} operation to the vector operand of the binary instruction if the binop's operand is a splat value. This essentially converts the binop to a scalar operation. Example: // If x and/or y is a splat value: lastX (binop (x, y)) --> binop(lastX(x), lastX(y)) Differential Revision: https://reviews.llvm.org/D106932 Change-Id: I93ff5302f9a7972405ee0d3854cf115f072e99c0 -
Michał Górny authored
Add a LLVM_LIT_ARGS cached variable in order to make it possible to override lit arguments when doing standalone builds. Without that, the user variable is ignored and the default options are always used. Based on a similar solution found in clang. Differential Revision: https://reviews.llvm.org/D107700
-
David Goldman authored
Xcode uses `#pragma mark -` to draw a divider in the outline view and `#pragma mark Note` to add `Note` in the outline view. For more information, see https://nshipster.com/pragma/. Since the LSP spec doesn't contain dividers for the symbol outline, instead we treat `#pragma mark -` as a group with children - the decls that come after it, implicitly terminating when the symbol's parent ends. The following code: ``` @implementation MyClass - (id)init {} - (int)foo; @end ``` Would give an outline like ``` MyClass > Overrides > init > Public Accessors > foo ``` Differential Revision: https://reviews.llvm.org/D105904
-
Alexander Belyaev authored
Original change by pifon@pifon:tfrt_clean:6896:citc on 2021/08/09 05:30:17. Ad b Differential Revision: https://reviews.llvm.org/D107762
-
Aart Bik authored
Looks "under the hood" of the sparse stogage schemes. Users should typically not be interested in these details (hey, that is why we have "sparse compilers"!) but this test makes sure the compact contents are as expected. Reviewed By: ThomasRaoux, bixia Differential Revision: https://reviews.llvm.org/D107683
-
Michał Górny authored
Some LD_PRELOAD-ed libraries tend to interact badly with --nodefaultlib, particularly Gentoo sandbox. Do not run this test if LD_PRELOAD is present in the running environment. Differential Revision: https://reviews.llvm.org/D107701
-
Louis Dionne authored
This patch fixes the constrains on the __perfect_forward constructor and its call operators, which were incorrect. In particular, it makes sure that we closely follow [func.require], which basically says that we must deliver the bound arguments with the appropriate value category or make the call ill-formed, but not silently fall back to using a different value category. As a fly-by, this patch also: - Adds types __bind_front_t and __not_fn_t to make the result of calling bind_front and not_fn more opaque, and improve diagnostics for users. - Adds a bunch of tests for bind_front and remove some that are now redundant. - Adds some missing _LIBCPP_HIDE_FROM_ABI annotations. Immense thanks to @tcanens for raising awareness about this issue, and providing help with the = delete bits. Differential Revision: https://reviews.llvm.org/D107199
-
Louis Dionne authored
We just had a case where a build bot stalled in an infinite loop during testing, and the whole pipeline got stuck. To avoid that from happening in the future, use a timeout on BuildKite jobs. Differential Revision: https://reviews.llvm.org/D107765
-
Paul Robinson authored
This reverts commit 187c69e9. compiler-rt/test/cross_over_uniform_dist.test refuses to pass.
-
Paul Robinson authored
This reverts commit dc11e69d. The speculative fix did not help.
-
Aart Bik authored
Implements lowering dense to sparse conversion, for static tensor types only. First step towards general sparse_tensor.convert support. Reviewed By: ThomasRaoux Differential Revision: https://reviews.llvm.org/D107681
-
Eli Friedman authored
I was originally going to try to implement this in target-independent code, but it's actually sort of tricky to generate the correct sequence for vectors like nxv2f32. So just stick this in target-specific code, at least for now. Differential Revision: https://reviews.llvm.org/D107608
-
peter klausler authored
Some build environments complain about unused data members in some C++ translations of Fortran derived types; those members don't really need to be present, so remove them. Fix pushed w/o review to get build bots running again.
-
Florian Mayer authored
This reverts commit 69a909b9.
-
Vitaly Buka authored
Without interceptor implementation may call strlen on internal buffers causing false msan errors. Differential Revision: https://reviews.llvm.org/D107615
-
Arnold Schwaighofer authored
We use the CurrentBlock to determine whether we have already processed a block. Don't reuse this variable for setting where we should insert the rematerialization. The rematerialization block is different to the current block when we rematerialize for coro suspend block users. Differential Revision: https://reviews.llvm.org/D107573
-
Michał Górny authored
-
Michał Górny authored
This reverts commit 0dc57a66.
-
Michał Górny authored
This reverts commit 116b112b.
-
Krishna authored
In this patch, the "nnan" requirement is removed for the canonicalization of select with fcmp to fabs. (i) FSub logic: Remove check for nnan flag presence in fsub. Example: https://alive2.llvm.org/ce/z/751svg (fsub). (ii) FNeg logic: Remove check for the presence of nnan and nsz flag in fneg. Example: https://alive2.llvm.org/ce/z/a_fsdp (fneg). Reviewed By: spatel Differential Revision: https://reviews.llvm.org/D106872
-
Michael Liao authored
- They need to be preserved even if there's no reference within the device code as the host code may need to initialize them based on the application logic. Reviewed By: tra Differential Revision: https://reviews.llvm.org/D107718
-
Paul Robinson authored
This change makes the REQUIRES clause unambiguously use triple-relative feature names, in case that helps fix the bot failure seen at https://lab.llvm.org/buildbot/#/builders/37/builds/5998
-
Andrzej Warzynski authored
We are only adding this in `flang` - the bash wrapper script for the driver. We don't have any specific plans to support `-M{fixed|free}` in `flang-new` (i.e. the actual driver). That feature was requested by one of our users. Differential Revision: https://reviews.llvm.org/D107081 -
Pirama Arumuga Nainar authored
Android provides ashmem/ASharedMemory support on newer releases, which we can use if requested by openmp users on Android. Also refactor the preprocessor check for using shared memory to kmp_config.h.cmake. Differential Revision: https://reviews.llvm.org/D107181
-
peter klausler authored
Define an API for, and implement, runtime support for arbitrary assignment of one descriptor's data to another, with full support for (re)allocation of allocatables with finalization when necessary, user-defined derived type assignment TBP calls, and intrinsic (default) componentwise assignment of derived type instances with allocation of automatic components. Also clean up API and implementation of finalization/destruction using knowledge gained while studying edge cases for assignment in the 2018 standard. The look-up procedure for special procedure bindings in derived types has been optimized from O(N) to O(1) since it will probably matter more. This required some analysis in runtime derived type description table construction in semantics and some changes to the table schemata. Executable Fortran tests have been developed; they'll be added to the test base once they can be lowered and run by f18. Differential Revision: https://reviews.llvm.org/D107678
-
Mark de Wever authored
Shorty before branching LLVM 13 a new CMake option was added. This option `LIBCXX_ENABLE_INCOMPLETE_FEATURES` lacks the contributor documentation. This patch rectifies that issue. Differential Revision: https://reviews.llvm.org/D107596
-
Mark de Wever authored
Switching `__builtin_clzll` to `__libcpp_clz` should work on all platforms and no longer require MSVC specific code. Reviewed By: #libc, ldionne Differential Revision: https://reviews.llvm.org/D107709
-
Raphael Isemann authored
The last read access to this variable was removed in 2015 in 4446487d .
-
- Aug 09, 2021
-
-
Michał Górny authored
-
Robin Giese authored
The `File::OpenOptions` were renamed; this fixes up a callsite that breaks for macOS builds. (See https://github.com/llvm/llvm-project/commit/14735cab655441ba45c4b88ad82f11267e5fe916) Differential Revision: https://reviews.llvm.org/D107767
-
Ivan Zhechev authored
Due to unavailability of Flang testing on Windows, the shell scripts are being ported to Python. The following changes are being made in this patch: removed test_symbols.sh and common.sh, and ported them to Python. Changes to the tests themselves so that they use the python scripts instead of the shell script. Reviewed By: Meinersbur, awarzynski, kiranchandramohan Differential Revision: https://reviews.llvm.org/D107041
-