- Nov 10, 2020
-
-
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
-
Kazushi (Jam) Marukawa authored
Support inline assembly with vector registers. Add a regression test also. Reviewed By: simoll Differential Revision: https://reviews.llvm.org/D91146
-
Sander de Smalen authored
Interfaces changed to take `ElementCount` as parameters: * LoopVectorizationPlanner::buildVPlans * LoopVectorizationPlanner::buildVPlansWithVPRecipes * LoopVectorizationCostModel::selectVectorizationFactor This patch is NFC for fixed-width vectors. Reviewed By: dmgreen, ctetreau Differential Revision: https://reviews.llvm.org/D90879
-
Michał Górny authored
Make category-specifying files visible. There is really no good reason to keep them hidden, and having them visible increases the chances that someone will actually spot them. Differential Revision: https://reviews.llvm.org/D91065
-
Michał Górny authored
Replace the plethora of ObjC-implied 'skipUnlessDarwin' decorators with marking tests as 'objc' category (whenever missing), and skip all ObjC tests on non-Darwin platforms. I have used '.categories' file wherever it was present already or all (>1) tests were relying on ObjC, and explicit add_test_categories() where there was only one test. Differential Revision: https://reviews.llvm.org/D91056
-
Joe Ellis authored
The test was using -O2, where -loop-vectorize will suffice. Reviewed By: fpetrogalli Differential Revision: https://reviews.llvm.org/D90685
-
Simon Pilgrim authored
-
Simon Pilgrim authored
-
Stefan Gränitz authored
Part 2 of a fix for JITed code debugging. This has been a regression from 5.0 to 6.0 and it's still reproducible on current master: https://bugs.llvm.org/show_bug.cgi?id=36209 Part 1 was D61611 a while ago. The in-memory object files we obtain from JITLoaderGDB are not yet relocated. It looks like this used to happen on the LLDB side and my guess is that it broke with D38142. (However, it's hard to tell because the whole thing was broken already due to the bug in part 1.) The patch moved relocation resolution to a later point in time and didn't apply it to in-memory objects. I am not aware of any reason why we wouldn't resolve relocations per-se, so I made it unconditional here. On Debian, it fixes the bug for me and all tests in `check-lldb` are still fine. Reviewed By: labath Differential Revision: https://reviews.llvm.org/D90769
-
Mirko Brkusanin authored
If we have a mask, and a value x, where (x | mask) == x, we can drop the OR and just use x. Differential Revision: https://reviews.llvm.org/D90952
-
Mirko Brkusanin authored
We can use KnownBitsAnalysis to cover cases when mask is not trivial. It can also help with cases when mask is not constant but can still be folded into one. Since 'and' is comutative we should treat both operands as possible replacements. Differential Revision: https://reviews.llvm.org/D90674
-
Mirko Brkusanin authored
This sequence of instructions can be simplified if they are single use and some operands are constants. Additional combines may be applied afterwards. Differential Revision: https://reviews.llvm.org/D90223
-
Mirko Brkusanin authored
Sequence of same shift instructions with constant operands can be combined into a single shift instruction. Differential Revision: https://reviews.llvm.org/D90217
-
James Henderson authored
This covers a few cases that aren't otherwise tested: 1) Non-ascii symbol names are ordered. 2) Comments, whitespace and blank lines are trimmed. 3) Missing order files result in an error. Reviewed by: MaskRay, grimar Differential Revision: https://reviews.llvm.org/D90933
-
James Henderson authored
I noticed when running a large link with the --time-trace option that there were several areas which were missing any specific time trace categories (aside from the generic link/ExecuteLinker categories). This patch adds new categories to fill most of the "gaps", or to provide more detail than was previously provided. Reviewed by: MaskRay, grimar, russell.gallop Differential Revision: https://reviews.llvm.org/D90686
-
Alex Zinenko authored
Introduce an ODS/Tablegen backend producing Op wrappers for Python bindings based on the ODS operation definition. Usage: mlir-tblgen -gen-python-op-bindings -Iinclude <path/to/Ops.td> \ -bind-dialect=<dialect-name> Reviewed By: mehdi_amini Differential Revision: https://reviews.llvm.org/D90960 -
Kazushi (Jam) Marukawa authored
Support inline assembly with scalar registers. Add a regression test also. Reviewed By: simoll Differential Revision: https://reviews.llvm.org/D91119
-