- Jun 30, 2020
-
-
Leonard Chan authored
After c7bcd431, this test started failing when running with the new pass manager. One of the CHECKs in this file checks how the vtable is loaded for a void cast, which involves taking 2 bitcasts from the pointer to the original object. The order of these bitcasts changes under the new PM. The order doesn't matter, so this relaxes the CHECKs. Differential Revision: https://reviews.llvm.org/D82802
-
Nick Desaulniers authored
This reverts commit 33d63f02ce408d181e13089ee5a667fb2e1cdc78. Differential Revision: https://reviews.llvm.org/D80681
-
Nick Desaulniers authored
This reverts commit dffc1420. Missed a hunk (D82690).
-
Sam McCall authored
This reverts commit a3684dfc.
-
Sam McCall authored
This reverts commit 9963d93b. Fails on mac/win: http://45.33.8.238/win/18704/step_9.txt http://45.33.8.238/mac/16341/step_9.txt
-
Sam McCall authored
This reverts commit 09b6dffb. Now compiles with GCC!
-
Davide Italiano authored
The define was wrong. I could've fixed it, but given this is unused I decided to drop the function altogether.
-
peter klausler authored
Expression analysis was being invoked on the bodies of statement functions as they were being encountered during name resolution. This led to failures on some FCVS tests in cases where those expressions contained implicitly typed objects. Defer the analysis of statemet function bodies to the end of the specification part, at which time the symbols of the enclosing scope will have been typed. Reviewed By: tskeith Differential Revision: https://reviews.llvm.org/D82796
-
Mircea Trofin authored
Reviewers: thakis Subscribers: mgorny, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D82776
-
Reid Kleckner authored
Updates gn files for 918948db
-
Alex Lorenz authored
This change ensures that the Darwin driver doesn't add unsupported libraries to the link invocation when linking the Apple Silicon macOS slice. rdar://61011136 Differential Revision: https://reviews.llvm.org/D82696
-
Matt Arsenault authored
-
Matt Arsenault authored
-
Matt Arsenault authored
This was producing reg = xor undef reg, undef reg. This looks similar to a use of a value to define itself, and I want to disallow undef uses for SSA virtual registers. If this were to use implicit_def, there's no guarantee the two operands end up using the same register (I think no guarantee exists even if the two operands start out as the same register, but this was violated when I switched this to use an explicit implicit_def). The MOV32r0 pseudo evidently exists to handle this case, so use it instead. This was more work than I expected for the 64-bit case, but I didn't see any helper for materializing a 64-bit 0.
-
Reid Kleckner authored
-
LLVM GN Syncbot authored
-
Martijn Vels authored
Summary: This change optimizes the assign() methods for string where either the contents or lengths are compile time known constants. For small strings (< min_cap) we can execute the assignment entirely inline. For strings up to 128 bytes we allow the compiler to efficiently inline the copy operation after we call the offline __resize<>() method. Short / long branches are taken at the call site for better branch prediction and allowing FDO optimizations. Benchmarks (unstable / google perflab): ``` name old time/op new time/op delta BM_StringAssignAsciiz_Empty_Opaque 5.69ns ± 7% 5.97ns ± 7% ~ (p=0.056 n=5+5) BM_StringAssignAsciiz_Empty_Transparent 5.39ns ± 7% 0.79ns ± 8% -85.36% (p=0.008 n=5+5) BM_StringAssignAsciiz_Small_Opaque 11.2ns ± 5% 11.0ns ± 6% ~ (p=0.548 n=5+5) BM_StringAssignAsciiz_Small_Transparent 10.1ns ± 7% 1.0ns ± 8% -89.76% (p=0.008 n=5+5) BM_StringAssignAsciiz_Large_Opaque 23.5ns ± 7% 23.8ns ± 7% ~ (p=0.841 n=5+5) BM_StringAssignAsciiz_Large_Transparent 21.4ns ± 7% 12.7ns ± 7% -40.83% (p=0.008 n=5+5) BM_StringAssignAsciiz_Huge_Opaque 336ns ± 4% 327ns ± 7% ~ (p=0.421 n=5+5) BM_StringAssignAsciiz_Huge_Transparent 331ns ± 5% 324ns ± 7% ~ (p=0.548 n=5+5) BM_StringAssignAsciizMix_Opaque 13.6ns ±10% 13.7ns ± 9% ~ (p=0.690 n=5+5) BM_StringAssignAsciizMix_Transparent 12.9ns ± 8% 3.6ns ± 8% -71.82% (p=0.008 n=5+5) ``` Reviewers: EricWF, #libc! Subscribers: jfb, libcxx-commits Tags: #libc Differential Revision: https://reviews.llvm.org/D82221
-
Nikita Popov authored
-
Nikita Popov authored
This reverts commit 01bf8cdf. Breaks the build: llvm/include/llvm/ADT/FunctionExtras.h:223:7: error: explicit template argument list not allowed 223 | Callbacks<CallableT, CalledAs, EnableIfTrivial<CallableT>>;
-
Sam McCall authored
Summary: This introduces the "semantic form" of config exposed to features, contrasted with the "syntactic form" exposed to users in e9fb1506. The two are not connected, CompiledFragment and Provider will bridge that gap. Nor is configuration actually set: that needs changes to ClangdServer, TUScheduler, and BackgroundQueue. Reviewers: hokein, kadircet Subscribers: mgorny, ilya-biryukov, MaskRay, jkorous, arphaman, usaxena95, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D82606
-
Alexey Bataev authored
-
Sam McCall authored
Summary: This technique should extend to rvalue-qualified etc, but I didn't add any. I removed "volatile" from the future plans, which seems... speculative at best. While here I moved the callbacks object out of the constructor into a variable template, which I believe addresses the fixme there about unused objects. (I'm not a template guru, so it's always possible the old version was designed for compile-time performance in a way I'm missing) Reviewers: kadircet Subscribers: dexonsmith, llvm-commits, chandlerc Tags: #llvm Differential Revision: https://reviews.llvm.org/D82581
-
Christopher Tetreault authored
Reviewers: efriedma, RKSimon, craig.topper, fpetrogalli, c-rhodes Reviewed By: RKSimon Subscribers: tschuett, hiraditya, rkruppe, psnobl, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D82508
-
Louis Dionne authored
As announced on libcxx-dev at [1], the old libc++ testing format is being removed in favour of the new one. Follow-up commits will clean up the code that is dead after the removal of this option. [1]: http://lists.llvm.org/pipermail/libcxx-dev/2020-June/000885.html
-
Christopher Tetreault authored
Reviewers: efriedma, ftynse, rriddle Reviewed By: ftynse, rriddle Subscribers: tschuett, rkruppe, psnobl, mehdi_amini, rriddle, jpienaar, shauheen, antiagainst, nicolasvasilache, arpith-jacob, mgester, lucyrfox, aartbik, liufengdb, stephenneuendorffer, Joonsoo, grosul1, Kayjukh, jurahul, msifontes Tags: #mlir Differential Revision: https://reviews.llvm.org/D82583
-
Nemanja Ivanovic authored
Commit 1fed1316 assumed that shuffle vector canonicalization will always ensure that the shuffle mask will be ordered so that element zero comes from the LHS vector. However there is code out there for which this is not the case. This patch simply removes that unsafe assumption and makes the code work regardless of the source of the first element.
-
Cullen Rhodes authored
Summary: * svget2/3/4 * svset2/3/4 * svcreate2/3/4 * svundef/2/3/4 Reviewers: sdesmalen, kmclaughlin, fpetrogalli, efriedma Reviewed By: fpetrogalli Differential Revision: https://reviews.llvm.org/D82665
-
Balazs Benics authored
FalsePositiveRefutationBRVisitor had a bug where the constraints were not properly collected thus crosschecked with Z3. This patch demonstratest and fixes that bug. Bug: The visitor wanted to collect all the constraints on a BugPath. Since it is a visitor, it stated the visitation of the BugPath with the node before the ErrorNode. As a final step, it visited the ErrorNode explicitly, before it processed the collected constraints. In principle, the ErrorNode should have visited before every other node. Since the constraints were collected into a map, mapping each symbol to its RangeSet, if the map already had a mapping with the symbol, then it was skipped. This behavior was flawed if: We already had a constraint on a symbol, but at the end in the ErrorNode we have a tighter constraint on that. Therefore, this visitor would not utilize that tighter constraint during the crosscheck validation. Differential Revision: https://reviews.llvm.org/D78457
-
Cullen Rhodes authored
Summary: Patch adds tests for mangling of svbfloat16_t and several other type related tests. Reviewers: sdesmalen, kmclaughlin, fpetrogalli, efriedma Reviewed By: sdesmalen, fpetrogalli Differential Revision: https://reviews.llvm.org/D82668
-
Jonas Devlieghere authored
The "new way" of enabling recommonmark is only supported in recommonmark 0.5 and later. Use the deprecated approach with versions of Sphinx that still support it. If I understand correctly there's no way to use older versions of recommonmark (<0.5) with newer versions of Sphinx (>3.0) because the old approach got removed. Differential revision: https://reviews.llvm.org/D75284
-
Louis Dionne authored
Since we can always find the rest of the LLVM tree, we can always run the tests in the standalone mode. Do it so that the default behavior is the same in the standalone and non-standalone modes.
-
Louis Dionne authored
Since we require that libc++ is built as part of the monorepo layout, we can assume the path of the rest of LLVM and avoid requiring that LLVM_PATH be set explicitly.
-
Muhammad Omair Javaid authored
TestCreateDuringInstructionStep have started failing again on aarch64/linux after moving to new machine. I am going mark it skipped for aarch64/linux.
-
LLVM GN Syncbot authored
-
Balazs Benics authored
Adds the test infrastructure for testing the FalsePositiveRefutationBRVisitor. It will be extended in the D78457 patch, which demonstrates and fixes a bug in the visitor. Differential Revision: https://reviews.llvm.org/D78704
-
serge-sans-paille authored
It's possible for the first loop trip(s) to set the `Changed` Status, and to a later one to early exit, in which case `Changed` must be return. Differential Revision: https://reviews.llvm.org/D82753
-
Francesco Petrogalli authored
Summary: The following intrinsics have been extended to support brain float types: svbfloat16_t svclasta[_bf16](svbool_t pg, svbfloat16_t fallback, svbfloat16_t data) bfloat16_t svclasta[_n_bf16](svbool_t pg, bfloat16_t fallback, svbfloat16_t data) bfloat16_t svlasta[_bf16](svbool_t pg, svbfloat16_t op) svbfloat16_t svclastb[_bf16](svbool_t pg, svbfloat16_t fallback, svbfloat16_t data) bfloat16_t svclastb[_n_bf16](svbool_t pg, bfloat16_t fallback, svbfloat16_t data) bfloat16_t svlastb[_bf16](svbool_t pg, svbfloat16_t op) svbfloat16_t svdup[_n]_bf16(bfloat16_t op) svbfloat16_t svdup[_n]_bf16_m(svbfloat16_t inactive, svbool_t pg, bfloat16_t op) svbfloat16_t svdup[_n]_bf16_x(svbool_t pg, bfloat16_t op) svbfloat16_t svdup[_n]_bf16_z(svbool_t pg, bfloat16_t op) svbfloat16_t svdupq[_n]_bf16(bfloat16_t x0, bfloat16_t x1, bfloat16_t x2, bfloat16_t x3, bfloat16_t x4, bfloat16_t x5, bfloat16_t x6, bfloat16_t x7) svbfloat16_t svdupq_lane[_bf16](svbfloat16_t data, uint64_t index) svbfloat16_t svinsr[_n_bf16](svbfloat16_t op1, bfloat16_t op2) Reviewers: sdesmalen, kmclaughlin, c-rhodes, ctetreau, efriedma Subscribers: tschuett, hiraditya, rkruppe, psnobl, cfe-commits, llvm-commits Tags: #clang, #llvm Differential Revision: https://reviews.llvm.org/D82345
-
- Jun 29, 2020
-
-
dfukalov authored
Reviewers: hliao Reviewed By: hliao Subscribers: yaxunl, cfe-commits, llvm-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D82764
-
Louis Dionne authored
Doing so doesn't work reliably, since it relies on LLVM_* implementation detail variables being set. Furthermore, since we rely on the lit.site.cfg being generated, running the tests requires LIBCXX_INCLUDE_TESTS=ON anyway.
-
Christudasan Devadasan authored
For now, moving it to SIPreEmitPeephole. Should find a right place to have this code. Reviewed By: nhaehnle Differential revision: https://reviews.llvm.org/D77544
-