- Apr 14, 2020
-
-
Balázs Kéri authored
Summary: Check the size constraints for every (variable) dimension of the array. Try to compute array size by multiplying size for every dimension. Reviewers: Szelethus, martong, baloghadamsoftware, gamesh411 Reviewed By: Szelethus, martong Subscribers: rnkovacs, xazax.hun, baloghadamsoftware, szepet, a.sidorin, mikhail.ramalho, Szelethus, donat.nagy, dkrupp, gamesh411, Charusso, martong, ASDenysPetrov, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D77305
-
Alex Brachet authored
Summary: This patch adds a very basic `FILE` type and basic `fwrite`. It also removes `snprintf` from `StdIO`'s function spec because `VarArgType` was causing the generation to fail. Reviewers: sivachandra, PaulkaToast Reviewed By: sivachandra Subscribers: mgorny, MaskRay, tschuett, libc-commits Differential Revision: https://reviews.llvm.org/D77626
-
Alex Brachet authored
Summary: Create self contained functional header which has a type similar to `std::function` Reviewers: sivachandra, PaulkaToast Reviewed By: sivachandra Subscribers: mgorny, tschuett, libc-commits Differential Revision: https://reviews.llvm.org/D77948
-
Kazushi (Jam) Marukawa authored
Summary: This iz pattern is a special pattern of im pattern. This im pattern has been supported by https://reviews.llvm.org/D77769, so removing iz pattern as a continuous patch. Reviewed By: simoll Differential Revision: https://reviews.llvm.org/D77770
-
Craig Topper authored
-
Mircea Trofin authored
Reviewers: craig.topper, dblaikie, davidxl Subscribers: llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D78080
-
Fangrui Song authored
This makes it easy to change the address stored in a sled from an absolute address to a PC-relative address.
-
Chris Lattner authored
Fix the MLIR integer attribute parser to be correct in the face of large integer attributes, it was previously artificially limited to 64 bits. Reviewers: rriddle! Subscribers: mehdi_amini, rriddle, jpienaar, burmako, shauheen, antiagainst, nicolasvasilache, arpith-jacob, mgester, lucyrfox, liufengdb, Joonsoo, grosul1, frgossen, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D78065
-
Mircea Trofin authored
Summary: This removes CallSite from inliner files. Some dependencies where thus affected. Reviewers: dblaikie, davidxl, craig.topper Subscribers: arsenm, jvesely, nhaehnle, eraman, hiraditya, aheejin, kerbowa, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D77991
-
Uday Bondhugula authored
Fix MLIR test case failure introduced by 89e0662d. LLVM's IR builder now automatically sets the alignment on alloca.
-
Uday Bondhugula authored
This makes no impact on the test cases because affine-data-copy-generate runs whole function canonicalization at its end; however, the latter will be removed in a pending revision. It is thus useful to clean up these affine.applys right here, and eventually, not even generate these (when the right API to compose by construction is in place). Differential Revision: https://reviews.llvm.org/D78055
-
Craig Topper authored
Still not great and we could probably codegen this better, but 11 was clearly ridiculous.
-
Craig Topper authored
[X86] Split AVX512 getCastInstrCost into tables that require useAVX512Regs() and those that just operate on 256 or smaller vectors. Use useAVX512Regs() to skip lookups instead of using type legalization action.
-
Craig Topper authored
-
Craig Topper authored
[X86] Add truncate cost model tests to min-legal-vector-width.ll for when we're avoiding 512 bit vectors.
-
Julian Lettner authored
Update local test object "in place" from remote test object. We need to do this to ensure that discovered test object which is used for printing test results reflect the changes. > Why are we sending back the whole test object from the worker process > (lit.worker.execute) instead of just the result? Unfortunately, the test result is not the only "result" of test execution. Other members (e.g., xfails, requires) of the Test class are set only during execution. Those members affect the behavior of `isExpectedToFail` and `setResult`, and are accessed when printing results. For example, xunit.xml test results include missing features for "skip reasons". The lack of separation between an immutable "test definition" and "generated outputs" (including the primary result and other secondary state) is unfortunate historical design decision in lit. > Why do we update the initial test object instead of just discarding it > and continuing with the pickled test object? Both of these approaches would work. However, note that we need a fully populated test object for printing results. Updating the existing one seems to be the easier path.
-
Fangrui Song authored
-
Matt Arsenault authored
This was assuming a scalarizing unmerge, and would fail assert if the unmerge was to smaller vector types.
-
Brian Cain authored
Building 'espresso' from llvm-test-suite revealed missing support for duplex instructions with R_HEX_GOT_16_X.
-
LLVM GN Syncbot authored
-
Mehdi Amini authored
Revert "Move ModuleSummaryAnalysis from libAnalysis to libObject to break the dependency from Analysis to Object" This reverts commit 10df1563. Some buildbots are broken.
-
Nico Weber authored
-
Christopher Tetreault authored
Reviewers: efriedma, sdesmalen, craig.topper, dexonsmith Reviewed By: efriedma, sdesmalen Subscribers: tschuett, hiraditya, rkruppe, psnobl, mehdi_amini, rriddle, jpienaar, burmako, shauheen, antiagainst, nicolasvasilache, arpith-jacob, mgester, lucyrfox, aartbik, liufengdb, Joonsoo, grosul1, frgossen, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D77763
-
LLVM GN Syncbot authored
-
Matt Arsenault authored
Ports the existing DAG combines, minus the simplify demanded bits which seems to have no equivalent now. Without these, this isn't particularly helpful in most of the IR sample cases.
-
Mehdi Amini authored
Move ModuleSummaryAnalysis from libAnalysis to libObject to break the dependency from Analysis to Object ModuleSummaryAnalysis is the only file in libAnalysis that brings a dependency on the CodeGen layer from libAnalysis, moving it breaks this dependency. Differential Revision: https://reviews.llvm.org/D77994
-
Austin Kerbow authored
Differential Revision: https://reviews.llvm.org/D78004
-
Artem Belevich authored
-
Heejin Ahn authored
Summary: In CFGStackify, `fixUnwindMismatches` function fixes unwind destination mismatches created by `try` marker placement. For example, ``` try ... call @qux ;; This should throw to the caller! catch ... end ``` When `call @qux` is supposed to throw to the caller, it is possible that it is wrapped inside a `catch` so in case it throws it ends up unwinding there incorrectly. (Also it is possible `call @qux` is supposed to unwind to another `catch` within the same function.) To fix this, we wrap this inner `call @qux` with a nested `try`-`catch`-`end` sequence, and within the nested `catch` body, branch to the right destination: ``` block $l0 try ... try ;; new nested try call @qux catch ;; new nested catch local.set n ;; store exnref to a local br $l0 end catch ... end end local.get n ;; retrieve exnref back rethrow ;; rethrow to the caller ``` The previous algorithm placed the nested `try` right before the `call`. But it is possible that there are stackified instructions before the call from which the call takes arguments. ``` try ... i32.const 5 call @qux ;; This should throw to the caller! catch ... end ``` In this case we have to place `try` before those stackified instructions. ``` block $l0 try ... try ;; this should go *before* 'i32.const 5' i32.const 5 call @qux catch local.set n br $l0 end catch ... end end local.get n rethrow ``` We correctly handle this in the first normal `try` placement phase (`placeTryMarker` function), but failed to handle this in this `fixUnwindMismatches`. Reviewers: dschuff Subscribers: sbc100, jgravelle-google, hiraditya, sunfish, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D77950 -
Jean-Luc Brouillet authored
Summary: Cut & paste error had the error message mentionning "}" rather than ")". Differential Revision: https://reviews.llvm.org/D77625
-
Ayke van Laethem authored
This fixes code like the following on AVR: void foo(void) { } void bar(void) __attribute__((alias("foo"))); Code like this is present in compiler-rt, which I'm trying to build. Differential Revision: https://reviews.llvm.org/D76182 -
Louis Dionne authored
The new format should be equivalent to the old format, and it is now the default format when running the libc++ and libc++abi tests. This commit changes the libunwind tests to use the new format by default too. If unexpected failures are discovered, it should be fine to revert this commit until they are addressed. Also note that it is still possible to use the old format by passing `--param=use_old_format=True` when running Lit for the time being. Differential Revision: https://reviews.llvm.org/D77733
-
jasonliu authored
Address post-commit comment: https://reviews.llvm.org/D77580#inline-713676 yaml2obj does not record the source filename in the output, which may make FileCheck tests brittle sometimes.
-
Louis Dionne authored
-
River Riddle authored
Summary: Functional.h contains many different methods that have a direct, and more efficient, equivalent in LLVM. This revision replaces all usages with the LLVM equivalent, and removes the header. This is part of larger cleanup, pr45513, merging MLIR support facilities into LLVM. Differential Revision: https://reviews.llvm.org/D78053
-
Louis Dionne authored
The libc++ test suite currently defines several features that are not used anywhere in the tests, or that are redundant with other features. For the purpose of simplifying config.py and to ease the bring up of a new configuration, this commit removes some of these features: - rename dylib-has-no-filesystem to c++filesystem-disabled, which exists - rename apple-darwin to just darwin, which is already set - remove useless setting of libstdc++, which is already set correctly - remove libcpp-abi-unstable, which is not used anywhere - remove the glibc-XXX features, which are not used anywhere
-
Benjamin Kramer authored
-
Nico Weber authored
I broke bots last week and tried a few things to fix them. These were attempts that didn't help, so back them back out. This reverts commit c7aff9a1. This reverts commit 8838d6d3. This reverts commit e875ba15.
-
Sterling Augustine authored
-
Louis Dionne authored
-