- Jan 23, 2020
-
-
Keith Smiley authored
Summary: This flag was added for the json format to exclude functions from the output. This mirrors that behavior in lcov (where it was previously accepted but ignored). This makes the output file smaller which can be beneficial depending on how you consume it, especially if you don't use this data anyways. Patch by Keith Smiley (@keith). Reviewers: kastiglione, Dor1s, vsk, allevato Reviewed By: Dor1s, allevato Subscribers: llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D73160
-
Sanjay Patel authored
vperm (ins ?, X, C), (ins ?, Y, C), 0x31 --> concat X, Y This is another shuffle problem seen with PR42024: https://bugs.llvm.org/show_bug.cgi?id=42024 We have this small crack in legalization/lowering/combining/demanded that allows forming a vperm2f128 of high halves with AVX1 when we could do better by peeking through the insert_subvector nodes. AFAICT, it requires IR as shown in the diffs - much larger than legal vectors - to avoid all of the usual folds. Another option would prevent forming the 256-bit vperm in lowering. Differential Revision: https://reviews.llvm.org/D73197
-
Chris Tetreault authored
Pass the Scalability test to VectorType::get in order to be able to deserialize bitcode that contains scalable vector operations Differential Revision: https://reviews.llvm.org/D73144
-
Alexander Lanin authored
-
Aaron Ballman authored
-
Alina Sbirlea authored
If MemorySSA analysis is analysis, LoopDeletion now preserves it.
-
Abdurrahman Akkas authored
Element type is useful in code generators but it is lost after construction. Differential Revision: https://reviews.llvm.org/D72888
-
Jan Vesely authored
R600 relies on this behaviour. Fixes: 6e18266a ('Partially revert D61491 "AMDGPU: Be explicit about whether the high-word in SI_PC_ADD_REL_OFFSET is 0"') Fixes ~100 piglit regressions since 6e18266a Differential Revision: https://reviews.llvm.org/D72991
-
Aaron Ballman authored
This is for future-proofing when compiling with MSVC once we drop support for 2017.
-
Nico Weber authored
Run `git ls-files '*.gn' '*.gni' | xargs llvm/utils/gn/gn.py format` after recent fixes to formatting of comments after single-element lists.
-
Saar Raz authored
[Concepts] Fix bug when referencing function parameters in instantiated function template requires clause Fixes bug #44613 - incorrect instantiated parameters were being added when checking instantiated function constraints
-
Aaron Ballman authored
-
Petr Hosek authored
The in-process cc1 currently breaks Goma client and therefore prevents the use of tip-of-tree Clang with Goma, so we disable the in-process cc1 in our toolchain until this issue is resolved.
-
Simon Pilgrim authored
Removes some unnecessary gpr<-->fpu traffic
-
David Green authored
The hasSideEffect parameter is usually automatically inferred from instruction patterns. For some of our MVE instructions, we do not have patterns though, such as for the pre/post inc loads and stores. This instead specifies the flag manually on the base MVE_VLDRSTR_base tablegen class, making sure we get this correct. This can help with scheduling multiple loads more optimally. Here I've added a unittest as a more direct form of testing. Differential Revision: https://reviews.llvm.org/D73117
-
Nico Weber authored
This reverts commit a90a6502. Broke tests on Windows: http://lab.llvm.org:8011/builders/clang-x64-windows-msvc/builds/13808
-
Nico Weber authored
This reverts commit fd98eccf. Seems to have no effect, need to try it locally for a bit first.
-
Mehdi Amini authored
Differential Revision: https://reviews.llvm.org/D72418
-
Kostya Kortchinsky authored
Summary: Unity is making irresponsible assumptions as to how clumped up memory should be. With larger regions, we break those, resulting in errors like: "Using memoryadresses from more that 16GB of memory" This is unfortunately one of those situations where we have to bend to existing code because we doubt it's going to change any time soon. 128MB should be enough, but we could be flirting with OOMs in the higher class sizes. Reviewers: cferris, eugenis, hctim, morehouse, pcc Subscribers: #sanitizers, llvm-commits Tags: #sanitizers, #llvm Differential Revision: https://reviews.llvm.org/D73143
-
Aaron Ballman authored
This reverts commit 968561bc
-
Nico Weber authored
-
Florian Hahn authored
If the root def of for renaming is a noop-pseudo instruction like kill, we would end up without a correct def for the renamed register, causing miscompiles. This patch conservatively bails out on any pseudo instruction. This fixes https://bugs.chromium.org/p/chromium/issues/detail?id=1037912#c70
-
Matt Arsenault authored
The pattern is also mishandled by the generated matcher, so workaround this as in the DAG path. The existing DAG tests aren't particularly targeted to just this one intrinsic. These also end up differing in scheduling from SGPR->VGPR operand constraint copies.
-
David Tenty authored
Summary: We create a number of standard types of control sections in multiple places for things like the function descriptors, external references and the TOC anchor among others, so it is possible for their properties to be defined inconsistently in different places. This refactor moves their creation and properties into functions in the TargetLoweringObjectFile class hierarchy, where functions for retrieving various special types of sections typically seem to reside. Note: There is one case in PPCISelLowering which is specific to function entry points which we don't address since we don't have access to the TLOF there. Reviewers: DiggerLin, jasonliu, hubert.reinterpretcast Reviewed By: jasonliu, hubert.reinterpretcast Subscribers: wuzish, nemanjai, hiraditya, kbarton, jsji, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D72347
-
Stanislav Mekhanoshin authored
This is NFC part of DAGCombiner::visitEXTRACT_SUBVECTOR() change in the D73132.
-
Stanislav Mekhanoshin authored
This is to pre-commit whitespace only changes before D73132.
-
Matt Arsenault authored
This is deprecated, but easy to support.
-
Matt Arsenault authored
-
Hiroshi Yamauchi authored
Summary: Without the BFI update, some hot blocks are incorrectly treated as cold code. This fixes a FDO perf regression in the TSVC benchmark from D71288. Reviewers: davidxl Subscribers: hiraditya, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D73146
-
Pablo Barrio authored
Summary: Patch by LukeCheeseman and pbarrio Reviewers: samparker, chill Subscribers: kristof.beyls, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D72835
-
Matt Arsenault authored
The GlobalISel usage called this with bits, but the DAG usage was incorrectly using bytes.
-
Matt Arsenault authored
The waterfall utility function blindly inserts a phi for every def in the loop. We don't need this one to be preserved for every iteration. Saves an extra phi and copy inside the loop body.
-
Zakk Chen authored
1. if users don't specific -mattr, the default target-feature come from IR attribute. 2. fixed bug and re-land this patch Reviewers: lenary, asb Reviewed By: lenary Tags: #llvm Differential Revision: https://reviews.llvm.org/D70837
-
Simon Pilgrim authored
Removes some unnecessary gpr<-->fpu traffic
-
Matt Arsenault authored
Move the subregister base like in the extract case.
-
Nico Weber authored
-
Michał Górny authored
Fix clear_cache_test to work on NetBSD with PaX MPROTECT enabled, that is when creating W+X mmaps is prohibited. Use the recommended solution: create two mappings for the same memory area, make one of them RW, while the other RX. Copy the function into the RW area but run it from the RX area. In order to implement this, I've split the pointer variables to 'write_buffer' and 'execution_buffer'. Both are separate pointers on NetBSD, while they have the same value on other systems. I've also split the memcpy_f() into two: new memcpy_f() that only takes care of copying memory and discards the (known) result of memcpy(), and realign_f() that applies ARM realignment to the given pointer. Again, there should be no difference on non-NetBSD systems but on NetBSD copying is done on write_buffer, while realignment on pointer to the execution_buffer. I have tested this change on NetBSD and Linux. Differential Revision: https://reviews.llvm.org/D72578
-
Matt Arsenault authored
-
- Jan 22, 2020
-
-
Matt Arsenault authored
The result and source vector are going to be tied, so these need to be the same bank. The inserted value also needs to be broken down based on the result bank, not the inserted value itself.
-
Marcello Maggioni authored
Summary: llvm::to_vector() accepts a Range value and not the pair of arguments we are currently passing. Also we probably want the lowered LLVM values in the vector, while operand_begin()/operand_end() on MLIR ops returns MLIR types. lookupValues() seems the correct way to collect such values. Reviewers: rriddle, andydavis1, antiagainst, nicolasvasilache, ftynse Subscribers: jdoerfert, mehdi_amini, jpienaar, burmako, shauheen, arpith-jacob, mgester, lucyrfox, liufengdb, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D73137
-