- Oct 29, 2020
-
-
Kazushi (Jam) Marukawa authored
Add missing "BCR %sy, 0, target" format instruction and a regression test for this format. Reviewed By: simoll Differential Revision: https://reviews.llvm.org/D90387
-
Nico Weber authored
This reverts commit df00267f. clang-format should not depend on Frontend, see comment on https://reviews.llvm.org/D90121.
-
Kazushi (Jam) Marukawa authored
Add missing symbolic branch patterns to a regression test. Reviewed By: simoll Differential Revision: https://reviews.llvm.org/D90388
-
Kazushi (Jam) Marukawa authored
Support register aliases in MC layer to compile existing assembly files with clang and integrated assembler. Reviewed By: simoll Differential Revision: https://reviews.llvm.org/D90383
-
Valentin Clement authored
Update op is modelling the update directive (2.14.4) from the OpenACC specs. An if condition and a device_type list can be attached to the directive. This patch add these two information to the current op. Reviewed By: rriddle Differential Revision: https://reviews.llvm.org/D90310
-
Valentin Clement authored
Enter data can have the copyin clause and exit data can have the copyout clause. Both clauses support modifier with other directive but for these two directives no modifier are supported. This semantic check enforce this rule. Reviewed By: kiranktp Differential Revision: https://reviews.llvm.org/D90280
-
Marek Kurdej authored
-
Daniel Kiss authored
This patch add the target-* (x86_64-*) as used elsewhere in llvm. Reviewed By: #libc, #libc_abi, ldionne Differential Revision: https://reviews.llvm.org/D88027
-
Daniel Kiss authored
--export-dynamic is not always available on all targets. -funwind-tables was a duplicate in the lit.site.cfg.in. Reviewed By: ldionne Differential Revision: https://reviews.llvm.org/D90202
-
Pavel Labath authored
This fixes an flakyness is all gdb-remote tests. These tests have been (mildly) flaky since we started using "localhost" instead of 127.0.0.1 in the test suite. The reason is that lldb-server needs to create two sockets (v4 and v6) to listen for localhost connections. The algorithm it uses first tries to select a random port (bind(localhost:0)) for the first address, and then bind the same port for the second one. The creating of the second socket can fail as there's no guarantee that port will be available -- it seems that the (linux) kernel tries to choose an unused port for the first socket (I've had to create thousands of sockets to reproduce this reliably), but this can apparantly fail when the system is under load (and our test suite creates a _lot_ of sockets). The socket creationg operation is considered successful if it creates at least one socket is created, but the test harness has no way of knowing which one it is, so it can end up connecting to the wrong address. I'm not aware of a way to atomically create two sockets bound to the same port. One way to fix this would be to make lldb-server report the address is it listening on instead of just the port. However, this would be a breaking change and it's not clear to me that's worth it (the algorithm works pretty well under normal circumstances). Instead, this patch sidesteps that problem by using "reverse" connections. This way, the test harness is responsible for creating the listening socket so it can pass the address that it has managed to open. It also results in much simpler code overall. To preserve test coverage for the named pipe method, I've moved the relevant code to a dedicated test. To avoid original problem, this test passes raw addresses (as obtained by getaddrinfo(localhost)) instead of "localhost". Differential Revision: https://reviews.llvm.org/D90313
-
Georgii Rymar authored
[llvm-readobj/elf] - Fix a crash when dumping a dynamic relocation that refer to a symbol past the EOF. There is a possible scenario when we crash when dumping dynamic relocations. For that we should have no section headers (to take the number of synamic symbols from) and a dynamic relocation that refers to a symbol with an index that is too large to be in a file. The patch fixes it. Differential revision: https://reviews.llvm.org/D90214
-
Alok Kumar Sharma authored
As suggested by dstenb, additional test is added to check emission of DW_OP_consts. Differential Revision: https://reviews.llvm.org/D89218
-
Clement Courbet authored
Doing a random assignment assigns both tested (forward) and back-to-back (backward) instructions. When none of the tested instruction and back-to-back instruction have implicit aliasing, we're currently trying to do a random register asignment twice. Fix this (see PR26418). Differential Revision: https://reviews.llvm.org/D90380
-
Adam Balogh authored
The `Root` member of `ImmutableMapRef` was changed recently from a plain pointer to `IntrusiveRefCntPtr`. However, the `Profile` member function was not adjusted. This results in comilation error whenever the `Profile` method is used on an `ImmutableMapRef`. This patch fixes this issue and also adds unit tests for `ImmutableMapRef`. Differential Revision: https://reviews.llvm.org/D89486
-
Georgii Rymar authored
[yaml2obj][test] - Merge strtab-implicit-sections-*.yaml into strtab-implicit-sections.yaml and improve testing of .shstrtab This creates `strtab-implicit-sections.yaml` and merges 2 `strtab-implicit-sections*` tests into it. I've also added a few tests for `.shstrtab` section related to section flags. With that we have a single place where we can test implicit string table sections and the `.shstrtab` section in particular. Differential revision: https://reviews.llvm.org/D90372
-
Simon Pilgrim authored
-
dfukalov authored
Fixes: SWDEV-256460 Reviewed By: arsenm Differential Revision: https://reviews.llvm.org/D90239
-
Max Kazantsev authored
-
Jay Foad authored
-
Alok Kumar Sharma authored
This commit adds a missed out line in earlier commit for DW_TAG_generic_subrange. Previous commit ID: a6dd01af Differential Revision: https://reviews.llvm.org/D89218 Thanks markus for pointing this out.
-
Florian Hahn authored
URem operations with constant power-of-2 second operands are modeled as such. This patch on its own has very little impact (e.g. no changes in CodeGen for MultiSource/SPEC2000/SPEC2006 on X86 -O3 -flto), but I'll soon post follow-up patches that make use of it to more accurately determine the trip multiple. Reviewed By: mkazantsev Differential Revision: https://reviews.llvm.org/D89821
-
Max Kazantsev authored
-
Tres Popp authored
The previous ordering continued to use the original assuming after replacing it which is not allowed. Now, inline the region from the old into the new before the replacement. Differential Revision: https://reviews.llvm.org/D90375
-
Georgii Rymar authored
This simplifies the dynsymtab-shlink.yaml test (with use of macros) and merges it into the dynsym-section.yaml test. Differential revision: https://reviews.llvm.org/D90301
-
Krasimir Georgiev authored
Contributed by dmikis (Kirill Dmitrenko)! Otherwise problems like trying to format readonly file in-place led to crashes. I've added reviewers by looking at `git blame` and other reviews to the changed file, so may have missed someone. Reviewed By: krasimir Differential Revision: https://reviews.llvm.org/D90121
-
Kazushi (Jam) Marukawa authored
I forgot to add a regression test for VMAXX instruction when I added it. So, I'm adding it now. Reviewed By: simoll Differential Revision: https://reviews.llvm.org/D90356
-
Kazushi (Jam) Marukawa authored
Add LVL/SVL/SMVL/LVIX isntructions. Add regression tests too. Reviewed By: simoll Differential Revision: https://reviews.llvm.org/D90355
-
David Spickett authored
It was printing "Usage:" twice. Reviewed By: omjavaid Differential Revision: https://reviews.llvm.org/D90225
-
David Zarzycki authored
40dd4d52 introduced two new types.
-
Max Kazantsev authored
This makes the code more compact and readable.
-
Georgii Rymar authored
When `NoHeaders` is set, we still have following issues: 1) We emit the `.shstrtab` implicit section of size 1 (empty string table). 2) We still align the start of the section header table, what affects the output size. 3) We still write section header table bytes. This patch fixes all of these issues. Differential revision: https://reviews.llvm.org/D90295
-
David Green authored
Instcombine will currently sink identical shuffles though vector binary operations. This is probably generally useful, but can break up the code pattern we use to represent an interleaving load group. This patch reverses that in the InterleaveAccessPass to re-recognise the pattern of shuffles sunk past binary operations and folds them back if an interleave group can be created. Differential Revision: https://reviews.llvm.org/D89489
-
Sam McCall authored
Differential Revision: https://reviews.llvm.org/D90215
-
Max Kazantsev authored
This patch gets rid of output parameter which is not needed for most users and prepares this API for further refactoring.
-
Sam McCall authored
Differential Revision: https://reviews.llvm.org/D89126
-
Vitaly Buka authored
Done with debugging. Script didn't work because of low limit on open files on the bot. This reverts commit 220293da.
-
Christian Sigg authored
Reviewed By: mehdi_amini Differential Revision: https://reviews.llvm.org/D90370
-
Georgii Rymar authored
This removes Inputs/libbogus11.a Initially I've removed it in D90013, but had to restore it, because BB found this test is using it. I've updated the test to use YAMLs, added comment and one more possible error check. Differential revision: https://reviews.llvm.org/D90312
-
Cameron Finucane authored
As implemented, the `InterruptHandler` thread was spinning trying to `select()` on a null "stdin", wasting a significant amount of CPU for no benefit. As Fuchsia does not have a native concept of stdin (or POSIX signals), this commit simply removes this feature entirely. Reviewed By: aarongreen Differential Revision: https://reviews.llvm.org/D89266
-
Fangrui Song authored
The two tests rely on LegacyInlinerBase::doFinalization to remove Function::isDefTriviallyDead() functions. The new PM does not have the behavior. The -NEXT patterns checking the emptiness are actually sufficient. Note, reassociate-deadinst.ll has become stale - it no longer catches the problem r285380 intended. Unfortunately it is difficult to craft a new test because it is actually pretty difficult to break it with `MadeChange = true;` all over the file.
-