- Aug 21, 2022
-
-
Kazu Hirata authored
-
Kazu Hirata authored
-
Kazu Hirata authored
-
Kazu Hirata authored
Identified with readability-qualified-auto.
-
Kazu Hirata authored
-
Gabriel Ravier authored
I went over the output of the following mess of a command: `(ulimit -m 2000000; ulimit -v 2000000; git ls-files -z | parallel --xargs -0 cat | aspell list --mode=none --ignore-case | grep -E '^[A-Za-z][a-z]*$' | sort | uniq -c | sort -n | grep -vE '.{25}' | aspell pipe -W3 | grep : | cut -d' ' -f2 | less)` and proceeded to spend a few days looking at it to find probable typos and fixed a few hundred of them in all of the llvm project (note, the ones I found are not anywhere near all of them, but it seems like a good start). Reviewed By: #libunwind, MaskRay Differential Revision: https://reviews.llvm.org/D130948 -
Joe Loser authored
Now that MLIR is built with C++17, use the standard library equivalent of `llvm::is_invocable`: `std::is_invocable`. Differential Revision: https://reviews.llvm.org/D132318
-
Kazu Hirata authored
This patch removes llvm::is_trivially_{copy/move}_constructible in favor of std::is_trivially_{copy/move}_constructible. The previous attempt to remove them in Dec 2020, c8d406c9, broke builds with "some versions of GCC" according to 6cd9608f. It's been 20 months since then, and the minimum requirement for GCC has been updated to 7.1 from 5.1. FWIW, I was able to build llvm with gcc 8.4.0. Differential Revision: https://reviews.llvm.org/D132311 -
Lang Hames authored
makeAbsolute was not updating the symbol address when applied to external symbols. This commit adds a unit test for makeAbsolute, and updates the makeExternal unit test to check that makeExternal works correctly for absolute symbols.
-
Mark de Wever authored
Addresses the final review comment of D131421. Reviewed By: philnik, #libc Differential Revision: https://reviews.llvm.org/D131857
-
Nico Weber authored
-
John Ericson authored
Working back towards D130586. Bolt didn't use `LLVM_LIBDIR_SUFFIX` before, and has no in-tree reverse dependencies, it seems easier to add. The change in LLVM itself is to prevent some unexpected `lib64` from cropping up due to the `CMAKE_INSTALL_LIBDIR` defaulting logic. Differential Revision: https://reviews.llvm.org/D132297
-
John Ericson authored
Use this instead of `*_LIBDIR_SUFFIX`, from which it is computed. This gets us ready for D130586, in which `*_LIBDIR_SUFFIX` is deprecated. Differential Revision: https://reviews.llvm.org/D132300
-
Kazu Hirata authored
Differential Revision: https://reviews.llvm.org/D132305
-
Kazu Hirata authored
This patch deprecates Any::hasValue as I've migrated all known uses of it to Any::has_value. I'm planning to remove the deprecated method in 3 months or so. Differential Revision: https://reviews.llvm.org/D132304
-
- Aug 20, 2022
-
-
Kazu Hirata authored
-
Peixin Qiao authored
As Fortran 2018 C1806, each component of a derived type with the BIND attribute shall be a nonpointer, nonallocatable data component with interoperable type. Reviewed By: klausler Differential Revision: https://reviews.llvm.org/D131585
-
Peixin Qiao authored
Remove barriers for firstprivate except if the variable is also lastprivatized. Re-arrange code and put all last-privates inside a single scf.if. As OpenMP Spec 5.0, to avoid the data races, concurrent updates of the original list item must be synchronized with the read of the original list item that occurs as a result of the firstprivate clause. Adding barrier(s) before and/or after the worksharing region would remove the data races, and it is the application(user)'s job. However, when one list item is in both firstprivate and lastprivate clauses, the standard (https://www.openmp.org/spec-html/5.0/openmpsu105.html) states the following: ``` If a list item appears in both firstprivate and lastprivate clauses, the update required for the lastprivate clause occurs after all initializations for the firstprivate clause. ``` So, the synchronization should be ensured by compiler such as emiting one barrier since the lastprivate clause follows the reads of the original list item performed for the initialization of each of the firstprivate list item. Add FIXME for two special cases, sections construct and linear clause. The data race problem for single construct will be handled later. This implementation is based on the discussion with OpenMP committee and clang code (clang/lib/CodeGen/CGStmtOpenMP.cpp). Reviewed By: kiranchandramohan, NimishMishra Differential Revision: https://reviews.llvm.org/D131832
-
Kazu Hirata authored
-
Kazu Hirata authored
This patch implements Any::has_value for consistency with std::any in C++17. My plan is to deprecate Any::hasValue after migrating all of its uses to Any::has_value. Since I am about to do so, this patch simply replaces hasValue with has_value in the unit test instead of adding tests for has_value. Differential Revision: https://reviews.llvm.org/D132278
-
Kazu Hirata authored
Differential Revision: https://reviews.llvm.org/D132279
-
Sanjay Patel authored
Follow-up to 7f1262a3. That patch avoided removing the call, but it still allowed the constant-folded result. This makes the behavior consistent with 1-arg libm folding: if the call potentially raises an exception, then we just bail out. It seems likely that there are other corner-cases like this, but the tests are incomplete, so we have lived with these discrepancies for a long time. This was untested before the the constant folding was expanded in D127964.
-
Simon Pilgrim authored
Fix cases where shl/srem/urem expansion results in a mulh/mul_lohi(x,1) 'pass through' that gets lowered to pmuludq. Fixes #56684
-
Simon Pilgrim authored
-
Mark de Wever authored
Work on the paper has started but it's blocked by PR52954. Updating the status to avoid duplicated effort implementing this paper.
-
Tom Stellard authored
Broken by 7225c0bd and 662a11bd.
-
Tom Stellard authored
-
Tom Stellard authored
Reviewed By: ldionne, thieta Differential Revision: https://reviews.llvm.org/D95114
-
Tom Stellard authored
Reviewed By: thieta Differential Revision: https://reviews.llvm.org/D131634
-
Tom Stellard authored
For some reason cmake started selecting a 32-bit version of python on Windows instead of the 64-bit version when building windows. Explicitly setting the default python to 3.10 fixes this problem. Reviewed By: thieta Differential Revision: https://reviews.llvm.org/D132280
-
Kazu Hirata authored
These warnings came up with gcc-11.3.0.
-
Michał Górny authored
This change was wrongly reverted and re-broke the Windows buildbot. Sponsored by: The FreeBSD Foundation
-
Thomas authored
-
Fangrui Song authored
-
Michał Górny authored
Try to always send vCont packets and include the PID in them if running multiprocess. This is necessary to ensure that with the upcoming full multiprocess support always resumes the correct process without having to resort to the legacy Hc packets. Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.llvm.org/D131758
-
Luo, Yuanke authored
This reverts commit 853bb192.
-
Tom Stellard authored
Reviewed By: thieta Differential Revision: https://reviews.llvm.org/D131650
-
Kazu Hirata authored
-
Kazu Hirata authored
-
Vitaly Buka authored
-