- Oct 30, 2020
-
-
Jody Sankey authored
The zx_clock_get syscall on Fuchsia is deprecated - ref https://fuchsia.dev/fuchsia-src/reference/syscalls/clock_get This changes to the recommended replacement; calling zx_clock_read on the userspace UTC clock. Reviewed By: mcgrathr, phosek Differential Revision: https://reviews.llvm.org/D90169
-
Roland McGrath authored
Reviewed By: phosek Differential Revision: https://reviews.llvm.org/D90279
-
Jay Foad authored
By setting up the AsmStrings correctly we can remove some special cases from AMDGPUInstPrinter::printOffset. Differential Revision: https://reviews.llvm.org/D90307
-
Mehdi Amini authored
This reverts commit ec7780eb. One of the bot is crashing in a test related to this change.
-
Teresa Johnson authored
After 81f7b96e, I can see that the reason this test is failing on llvm-avr-linux is that it doesn't think the directory exists (error comes during file open for write command). Not sure why since this is the main test Output directory and we created a different file there earlier in the test from the same file open invocation. Print directory contents in an attempt to debug.
-
Jan Kratochvil authored
-
Mircea Trofin authored
When passing -lto-embed-bitcode=post-merge-pre-opt, we were getting empty .llvmcmd sections. It turns out that is because the CodeGenOptions::CmdArgs field was only populated when clang saw -fembed-bitcode={all|marker}. This patch always populates the CodeGenOptions::CmdArgs. The overhead of carrying through in memory in all cases is likely negligible in the grand schema of things, and it keeps the using code simple. Differential Revision: https://reviews.llvm.org/D90366 -
Christian Sigg authored
Reviewed By: herhut Differential Revision: https://reviews.llvm.org/D89324
-
Simon Pilgrim authored
-
Jon Chesterfield authored
[AMDGPU] Add __builtin_amdgcn_grid_size Similar to D76772, loads the data from the dispatch pointer. Marked invariant. Patch also updates the openmp devicertl to use this builtin. Reviewed By: yaxunl Differential Revision: https://reviews.llvm.org/D90251
-
Sanjay Patel authored
-
Fangrui Song authored
GNU as let .weak override .globl since binutils-gdb 5ca547dc2399a0a5d9f20626d4bf5547c3ccfddd (1996) while MC lets the last directive win (PR38921). This caused an issue to Linux's powerpc port which has been fixed by http://git.kernel.org/linus/968339fad422a58312f67718691b717dac45c399 Binding overriding is error-prone. This patch disallows a changed binding. (https://sourceware.org/pipermail/binutils/2020-March/000299.html ) Our behavior regarding `.globl x; .weak x` matches GNU as. Such usage is still suspicious but we issue a warning for now. We may upgrade it to an error in the future. Reviewed By: jhenderson, nickdesaulniers Differential Revision: https://reviews.llvm.org/D90108
-
Jay Foad authored
This reverts r227987 "R600/SI: Determine target-specific encoding of READLANE and WRITELANE early v2". All the codegen changes are caused by the post-RA scheduler no longer treating readlane/writelane as scheduling barriers due to having unmodelled side effects. (The pseudos are hasSideEffects = 0, but the real instructions are hasSideEffects = ? which TableGen conservatively treats as 1.) Differential Revision: https://reviews.llvm.org/D90401
-
- Oct 29, 2020
-
-
Teresa Johnson authored
To help debug failures, specifically the llvm-avr-linux bot failure from 5c20d7db: http://lab.llvm.org:8011/#/builders/112/builds/407/steps/5/logs/FAIL__MemProfiler-x86_64-linux-dynamic__log_path_t Also re-enable the failing test which I temporarily disabled, to see if this change will help identify why that particular log file can't be opened for write on that bot (when another log file in the same directory could earlier in the test). Differential Revision: https://reviews.llvm.org/D90120
-
Scott Linder authored
Minimum amount of tests to cover (most) of the DISubprogram verifier checks. Reviewed By: vsk Differential Revision: https://reviews.llvm.org/D90340 Change-Id: Icd25dac64f87f6dcf67ff3443eb4f95af18d05a8
-
Simon Pilgrim authored
Noticed when fixing OSS Fuzz #26716
-
Nicolas Vasilache authored
Linalg "tile-and-fuse" is currently exposed as a Linalg pass "-linalg-fusion" but only the mechanics of the transformation are currently relevant. Instead turn it into a "-test-linalg-greedy-fusion" pass which performs canonicalizations to enable more fusions to compose. This allows dropping the OperationFolder which is not meant to be used with the pattern rewrite infrastructure. Differential Revision: https://reviews.llvm.org/D90394
-
Nicholas Guy authored
Fixes a regression caused by D82439, in which IT blocks were no longer being generated when -Oz is present. Differential Revision: https://reviews.llvm.org/D88496
-
Nicholas Guy authored
D88496 introduces some new behaviour to IT block generation, behaviour which is not covered by the current unit tests. This adds one to cover it Differential Revision: https://reviews.llvm.org/D90398
-
Kazushi (Jam) Marukawa authored
We've implemented integrated assembler. Now, we change to use integrated assembler by default. Update a regression test also. Reviewed By: simoll Differential Revision: https://reviews.llvm.org/D90396
-
Louis Dionne authored
-
Jay Foad authored
The operand value was always 1 (except in some bad MIR tests) so it was redundant. Differential Revision: https://reviews.llvm.org/D90378
-
Jay Foad authored
Differential Revision: https://reviews.llvm.org/D90374
-
Jay Foad authored
Differential Revision: https://reviews.llvm.org/D90373
-
Frederik Gossen authored
Add specializations for `walk` to allow traversal of regions and blocks. Differential Revision: https://reviews.llvm.org/D90379
-
David Sherwood authored
All known instances in the code where we relied upon the TypeSize comparison operators have now been changed to either use scalar interger comparisons or one of the TypeSize::isKnownXY functions. It is now safe to remove the comparison operators. Differential Revision: https://reviews.llvm.org/D90160
-
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
-