- Feb 14, 2020
-
-
James Henderson authored
This caused build bot failures: http://lab.llvm.org:8011/builders/ppc64le-lld-multistage-test/builds/8568/
-
Louis Dionne authored
The static asserts in span<T, N>::front() and span<T, N>::back() are incorrect as they may be triggered from valid code due to evaluation of a never taken branch: span<int, 0> foo; if (!foo.empty()) { auto x = foo.front(); } The problem is that the branch is always evaluated by the compiler, creating invalid compile errors for span<T, 0>. Thanks to Michael Schellenberger Costa for the patch. Differential Revision: https://reviews.llvm.org/D71995 -
Kadir Cetinkaya authored
Summary: Currently template parameters has symbolkind `Unknown`. This patch introduces a new kind `TemplateParm` for templatetemplate, templatetype and nontypetemplate parameters. Also adds tests in clangd hover feature. Reviewers: sammccall Subscribers: kristof.beyls, ilya-biryukov, jkorous, arphaman, usaxena95, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D73696
-
Kadir Cetinkaya authored
Reviewers: sammccall, hokein Subscribers: kristof.beyls, jkorous, arphaman, usaxena95, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D73693
-
Raphael Isemann authored
-
Simon Pilgrim authored
Without PSHUFB we are better using ROTL (expanding to OR(SHL,SRL)) than using the generic v16i8 shuffle lowering - but if we can widen to v8i16 or more then the existing shuffles are still the better option. REAPPLIED: Original commit rG11c16e71 was reverted at rGde1d9029 as it wasn't accounting for later lowering. This version emits ROTLI or the OR(VSHLI/VSRLI) directly to avoid the issue.
-
Luís Marques authored
Summary: LLVM configuration fails with 'unable to guess system type' on riscv64. Add support for detecting riscv32 and riscv64 systems. Patch by Gokturk Yuksek (gokturk) Reviewers: erichkeane, rengolin, mgorny, aaron.ballman, beanz, luismarques Reviewed By: luismarques Tags: #llvm Differential Revision: https://reviews.llvm.org/D68899
-
Roger Ferrer Ibanez authored
This is similar to D69828. Special codegen for enclosing untied tasks is still done in clang. Differential Revision: https://reviews.llvm.org/D70799
-
Andrew Ng authored
Replace use of widenPath in comparePaths with UTF8ToUTF16. widenPath does a lot more than just conversion from UTF-8 to UTF-16. This is not necessary for CompareStringOrdinal and could possibly even cause problems. Differential Revision: https://reviews.llvm.org/D74477
-
James Henderson authored
Prior to this patch, if a DW_LNE_set_address opcode was parsed with an address size (i.e. with a length after the opcode) of anything other 1, 2, 4, or 8, an llvm_unreachable would be hit, as the data extractor does not support other values. This patch introduces a new error check that verifies the address size is one of the supported sizes, in common with other places within the DWARF parsing. This patch also fixes calculation of a generated line table's size in unit tests. One of the tests in this patch highlighted a bug introduced in 1271cde4, when non-byte operands were used as arguments for extended or standard opcodes. Reviewed by: dblaikie Differential Revision: https://reviews.llvm.org/D73962
-
Pavel Labath authored
This is the second dwp preparatory patch. When a SymbolFileDWARFDwo will hold more than one split unit, it will not be able to be uniquely owned by a single DWARFUnit. I achieve this by changing the unique_ptr<SymbolFileDWARFDwo> member of DWARFUnit to shared_ptr<DWARFUnit>. The shared_ptr points to a DWARFUnit, but it is in fact holding the entire SymbolFileDWARFDwo alive. This is the same method used by llvm DWARFUnit (except that is uses the DWARFContext class). Differential Revision: https://reviews.llvm.org/D73782
-
Roger Ferrer Ibanez authored
The code generation is exactly the same as it was. But not that the special handling of untied tasks is still handled by emitUntiedSwitch in clang. Differential Revision: https://reviews.llvm.org/D69828
-
James Henderson authored
Experimental targets are meant to be maintained by the community behind the target. They are not monitored by the primary build bots. This change clarifies that it is this communities responsibility for things like test fixes related to the target caused by changes unrelated to that target. See http://lists.llvm.org/pipermail/llvm-dev/2020-February/139115.html for a full discussion. Reviewed by: rupprecht, lattner, MaskRay Differential Revision: https://reviews.llvm.org/D74538
-
Mehdi Amini authored
This pass would currently build, but fail to run when this backend isn't linked in. On the other hand, we'd like it to initialize only the NVPTX backend, which isn't possible if we continue to build it without the backend available. Instead of building a broken configuration, let's skip building the pass entirely. Differential Revision: https://reviews.llvm.org/D74592
-
Pavel Labath authored
Summary: This was added in 2018 (r339929), when we were still using the hand-rolled test runner. It does not seem to be relevant anymore. In fact as far as I can tell, it's a big no-op now as the exclusive_test_subdir variable is never set. Reviewers: vsk, JDevlieghere Subscribers: lldb-commits Tags: #lldb Differential Revision: https://reviews.llvm.org/D74551
-
Alex Zinenko authored
The commit switching the calling convention for memrefs (5a177805) inadvertently introduced a bug in the function argument attribute conversion: due to incorrect indexing of function arguments it was not assigning the attributes to the arguments beyond those generated from the first original argument. This was not caught in the commit since the test suite does have a test for converting multi-argument functions with argument attributes. Fix the bug and add relevant tests.
-
Pavel Labath authored
-
Kazushi (Jam) Marukawa authored
Summary: Support for PIC with tests for global variables and function calls. Reviewed By: arsenm Differential Revision: https://reviews.llvm.org/D74536
-
Kadir Cetinkaya authored
-
Sam Parker authored
-
Roman Lebedev authored
That's where nowadays those tests reside, those outliers were created before the migration but committed after, so they just awkwardly reside in the old place.
-
Pavel Labath authored
-
Fangrui Song authored
-
Jonas Devlieghere authored
This reverts b3a0c4d7 for TestBreakpointHitCount.py because it's now timing out on the Windows bot. I'm not sure this is the cause, but the substitution doesn't look correct anyway...
-
Jonas Devlieghere authored
After the recent change that grouped some of the ABI plugins together, those plugins ended up with multiple initializers per plugin. This is incompatible with my proposed approach of generating the initializers dynamically, which is why I've grouped them together in a new entry point. Differential revision: https://reviews.llvm.org/D74451
-
Evgeniy Brevnov authored
[DependenceAnalysis] Dependecies for loads marked with "ivnariant.load" should not be shared with general accesses(PR42151). Summary: This is second attempt to fix the problem with incorrect dependencies reported in presence of invariant load. Initial fix (https://reviews.llvm.org/D64405) was reverted due to a regression reported in https://reviews.llvm.org/D70516. The original fix changed caching behavior for invariant loads. Namely such loads are not put into the second level cache (NonLocalDepInfo). The problem with that fix is the first level cache (CachedNonLocalPointerInfo) still works as if invariant loads were in the second level cache. The solution is in addition to not putting dependence results into the second level cache avoid putting info about invariant loads into the first level cache as well. Reviewers: jdoerfert, reames, hfinkel, efriedma Reviewed By: jdoerfert Subscribers: DaniilSuchkov, hiraditya, bmahjour, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D73027
-
Fangrui Song authored
We use config->z* for -z options.
-
Jonas Devlieghere authored
When the DW_AT_call_return_pc matches a relocation, the call return pc would get relocated twice, once because of the relocation in the object file and once because of dsymutil. The same problem exists for the low and high PC and the fix is the same. We remember the low, high and return pc of the original DIE and relocate that, rather than the potentially already relocated value. Reviewed offline by Fred Riss.
-
Liu, Chen3 authored
zero the upper 64bit. Differential Revision : https://reviews.llvm.org/D74552
-
Eric Christopher authored
-
Eric Christopher authored
This partially reverts commit 102814b4.
-
River Riddle authored
Summary: This revision adds support to the declarative parser for formatting enum attributes in the symbolized form. It uses this new functionality to port several of the SPIRV parsers over to the declarative form. Differential Revision: https://reviews.llvm.org/D74525
-
Fangrui Song authored
Similar to rL328848.
-
Thomas Lively authored
Summary: Also make return calls terminator instructions so epilogues are inserted before them rather than after them. Together, these changes make WebAssembly's tail call optimization more stack-safe. Reviewers: aheejin, dschuff Subscribers: sbc100, jgravelle-google, hiraditya, sunfish, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D73943
-
Fangrui Song authored
Buildbot are failing with the current revert status. So reland with a fix to fp-model.c
-
Pavel Iliin authored
This NFC commit updates several llc tests checks by automatically generated ones.
-
Jim Ingham authored
Mach allows you to suspend and resume other threads within a program, so debugserver has to be careful not to interfere with this when it goes to supend and resume threads while stepping over breakpoints and calling functions. Even trickier, if you call a function on a suspended thread, it has to resume the thread to get the expression to run, and then suspend it properly when done. This all works already, but there wasn't a test for it. Adding that here. This same test could be written for a unix that supports pthread_{suspend,resume}_np, but macOS doesn't support these calls, only the mach version. It doesn't look like a lot of Linux'es support this (AIX does apparently...) And IIUC Windows allows you to suspend and resume other threads, but the code for that would look pretty different than this main.c. So for simplicity's sake I wrote this test for Darwin-only. -
aartbik authored
Summary: This sets the basic framework for lowering vector.contract progressively into simpler vector.contract operations until a direct vector.reduction operation is reached. More details will be filled out progressively as well. Reviewers: nicolasvasilache Reviewed By: nicolasvasilache Subscribers: mehdi_amini, rriddle, jpienaar, burmako, shauheen, antiagainst, nicolasvasilache, arpith-jacob, mgester, lucyrfox, liufengdb, Joonsoo, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D74520
-
Melanie Blower authored
This reverts commit abd09053. It's causing internal buildbot fails on ppc Conflicts: clang/lib/Driver/ToolChains/Clang.cpp
-
Vedant Kumar authored
-