- Nov 11, 2020
-
-
Kazu Hirata authored
-
sameeran joshi authored
Following warning were seen with recommonmark(0.5.0) and sphinx(1.8.5). `parser.py:75: UserWarning: Container node skipped: type=document warn("Container node skipped: type={0}".format(mdnode.t))` The warnings are due to an issue in recommonmark's(a python package) older versions. A better solution is to use the latest version of recommonmark(>=0.6.0) to avoid these issue in the first place. This patch fixes the warnings for older versions. Reviewed By: jdoerfert Differential Revision: https://reviews.llvm.org/D91117 -
Jay Foad authored
-
David Green authored
-
David Green authored
This hints the operand of a t2DoLoopStart towards using LR, which can help make it more likely to become t2DLS lr, lr. This makes it easier to move if needed (as the input is the same as the output), or potentially remove entirely. The hint is added after others (from COPY's etc) which still take precedence. It needed to find a place to add the hint, which currently uses the post isel custom inserter. Differential Revision: https://reviews.llvm.org/D89883
-
Paul Robinson authored
This reverts commit e7256825. apparently it's not that simple. https://lab.llvm.org:8011/#/builders/109/2412
-
Jonas Devlieghere authored
Instead of having a custom error message, propagate the llvm::Error from SystemInitializerCommon. I didn't realize we had this overload until Pavel mentioned it in D90987 today.
-
Paul Robinson authored
Failure seen if you configure ARM target but not AArch64, as here: http://lab.llvm.org:8011/#/builders/59/builds/271
-
- Nov 10, 2020
-
-
David Green authored
This changes the definition of t2DoLoopStart from t2DoLoopStart rGPR to GPRlr = t2DoLoopStart rGPR This will hopefully mean that low overhead loops are more tied together, and we can more reliably generate loops without reverting or being at the whims of the register allocator. This is a fairly simple change in itself, but leads to a number of other required alterations. - The hardware loop pass, if UsePhi is set, now generates loops of the form: %start = llvm.start.loop.iterations(%N) loop: %p = phi [%start], [%dec] %dec = llvm.loop.decrement.reg(%p, 1) %c = icmp ne %dec, 0 br %c, loop, exit - For this a new llvm.start.loop.iterations intrinsic was added, identical to llvm.set.loop.iterations but produces a value as seen above, gluing the loop together more through def-use chains. - This new instrinsic conceptually produces the same output as input, which is taught to SCEV so that the checks in MVETailPredication are not affected. - Some minor changes are needed to the ARMLowOverheadLoop pass, but it has been left mostly as before. We should now more reliably be able to tell that the t2DoLoopStart is correct without having to prove it, but t2WhileLoopStart and tail-predicated loops will remain the same. - And all the tests have been updated. There are a lot of them! This patch on it's own might cause more trouble that it helps, with more tail-predicated loops being reverted, but some additional patches can hopefully improve upon that to get to something that is better overall. Differential Revision: https://reviews.llvm.org/D89881 -
Ayshe Kuran authored
Adjustment to integer division in int_div_impl.inc to avoid undefined behaviour that can occur as a result of having INT_MIN as one of the parameters. Reviewed By: sepavloff Differential Revision: https://reviews.llvm.org/D90218
-
Alexey Bataev authored
This reverts commit 6847bcec. It breaks the build of libomptarget.
-
Simon Pilgrim authored
-
Simon Pilgrim authored
-
Simon Pilgrim authored
-
George Mitenkov authored
This patch introduces a new conversion pattern for `spv.ExecutionMode`. `spv.ExecutionMode` may contain important information about the entry point, which we want to preserve. For example, `LocalSize` provides information about the work-group size that can be reused. Hence, the pattern for entry-point ops changes to the following: - `spv.EntryPoint` is still simply removed - Info from `spv.ExecutionMode` is used to create a global struct variable, which looks like: ``` struct { int32_t executionMode; int32_t values[]; // optional values }; ``` Reviewed By: mravishankar Differential Revision: https://reviews.llvm.org/D89989 -
Pavel Labath authored
Dwarf says (Section 2.5.1.1. of DWARF v5) that these operations should push "generic" (pointer-sized) values. This was not the case for DW_OP_const operations (which were pushing values based on the size of arguments), nor DW_OP_litN (which were always pushing 64-bit values). The practical effect of this that were were unable to display the values of variables if the size of the DW_OP_const opcode was smaller than the value of the variable it was describing. This would happen because we would store this (small) result into a buffer and then would not be able to read sufficient data out of it (in Value::GetValueAsData). Gcc emits debug info like this. Other (more subtle) effects are also possible. The same fix should be applied to DW_OP_const[us] (leb128 versions), but I'm not doing that right now, because that would cause us to display wrong (truncated) values of variables on 32-bit targets (pr48087). Differential Revision: https://reviews.llvm.org/D90840
-
Muiez Ahmed authored
The aim of this patch is to enable POSIX _l functions for z/OS. In particular, the functions are provided with libc++ and this patch resorts to the fallback functions. Nonetheless, the functions are being added so the implementation of the ctype<> member functions can call them. The following changes were needed to allow for a successful build when using the libc++ library for z/OS. Reviewed By: #libc, ldionne Differential Revision: https://reviews.llvm.org/D90319
-
Raphael Isemann authored
This test was deleted by accident in the great lldb-mi removal: 37fed664
-
Simon Pilgrim authored
-
Simon Pilgrim authored
-
Simon Pilgrim authored
-
Paul C. Anagnostopoulos authored
This pass cleans up NVVM. Differential Revision: https://reviews.llvm.org/D91097
-
Nathan James authored
By iterating backwards over the globs we can exit the loop as soon as we find a match. While we're here: - Regex doesn't need to be mutable. - We can reserve the amount of Globs needed ahead of time. - Using a SmallVector with size 0 is slightly more space efficient than a std::vector. Reviewed By: aaron.ballman Differential Revision: https://reviews.llvm.org/D91033
-
Raphael Isemann authored
It seems that TestErrorMessages.test is failing on the standalone + Xcode builds as lldb-server executable can't be found by lit's default PATH search. I assume invoking lldb-server via a lit substitution gets this working again as everything else is working, so that's what this patch is doing. I had to add the lldb-server substitution as the test seems lldb-server specific and we don't want it to default to debugserver on Darwin. Using a substitution also seems in general like a good idea so that the commands lit is printing on failure are using the full path to lldb-server and can be re-run in a terminal. Reviewed By: labath Differential Revision: https://reviews.llvm.org/D91155
-
Sanjay Patel authored
This is the last step in removing cost-kind as a consideration in the basic class model for intrinsics. See D89461 for the start of that. Subsequent commits dealt with each of the special-case intrinsics that had customization here in the basic class. This should remove a barrier to retrying D87188 (canonicalization to the abs intrinsic). The ARM and x86 cost diffs seen here may be wrong because the target-specific overrides have their own bugs, but we hope this is less wrong - if something has a significant throughput cost, then it should have a significant size / blended cost too by default. The only behavioral diff in current regression tests is shown in the x86 scatter-gather test (which is misplaced or broken because it runs the entire -O3 pipeline) - we unrolled less, and we assume that is a improvement. Differential Revision: https://reviews.llvm.org/D90554
-
Michał Górny authored
Explicitly copy dbregs to new threads to ensure that watchpoints are propagated properly. Fixes the test failure due to apparent kernel race between reporting a new thread and resuming main thread execution that makes implicit inheritance of dbregs unreliable. By copying them explicitly, we ensure that the new thread correctly respects watchpoints that were set after the thread was created but before it was reported. The code is copied from the NetBSD plugin and modernized to use llvm::Error. Differential Revision: https://reviews.llvm.org/D91032
-
Michał Górny authored
Fix DS/ES/FS/GS register sizes in getter/setter for FreeBSD. Apparently only CS and SS registers are specified as 64/32-bit in LLDB, while the others are specified as 16-bit. This fixes the failing StandardStartupTest.TestStopReplyContainsThreadPcs lldb-server unittest. Differential Revision: https://reviews.llvm.org/D91076
-
Michał Górny authored
Update the SIGTRAP handler to account for the possibility of SIGTRAP being generated by the user, i.e. not having any specific debugging event associated with it, as well as receiving unknown SIGTRAPs. These instances of SIGTRAP are passed to the regular signal handler. Differential Revision: https://reviews.llvm.org/D91007
-
Simon Pilgrim authored
-
Simon Pilgrim authored
-
Simon Pilgrim authored
-
Simon Pilgrim authored
-
Kazushi (Jam) Marukawa authored
We used cast where we should use dyn_cast. So, change it this time. Old code cause problems if I implement brind instruction and compile openmp using new compiler. Reviewed By: simoll Differential Revision: https://reviews.llvm.org/D91151
-
Simon Pilgrim authored
-
Wang, Pengfei authored
-
Pablo Barrio authored
Some use cases (e.g. kernel devs) have strict requirements to only enable features available with -march=armv8-a, e.g. no armv8.1-a. Enabling RAS 1.1 in all AArch64 means they can consider to support it. Bear in mind that the first versions of the Armv8 architecture still do not support RAS 1.1. This patch only lets devs write code with the user-friendly register mnemonic instead of the ugly generic S<op0>_<op1>_<Cn>_<Cm>_<op2>. They still need to place runtime checks to make sure that the CPU to run on supports RAS 1.1. Differential Revision: https://reviews.llvm.org/D90594
-
Haojian Wu authored
Looks like we hit a bug in iterator of DeclContextLookupResult, workaround by a forloop. http://45.33.8.238/win/27605/step_4.txt
-
Kirill Bobyrev authored
Typo: 1.32.2 does not exist, it should be 1.33.2 https://github.com/grpc/grpc/releases/tag/v1.33.2
-
Sanne Wouda authored
The LoopDistribute pass is missing from the LTO pipeline, so -enable-loop-distribute has no effect during post-link. The pre-link loop distribution doesn't seem to survive the LTO pipeline either. With this patch (and -flto -mllvm -enable-loop-distribute) we see a 43% uplift on SPEC 2006 hmmer for AArch64. The rest of SPECINT 2006 is unaffected. Differential Revision: https://reviews.llvm.org/D89896
-
Wang, Pengfei authored
-