- Nov 22, 2021
-
-
Bradley Smith authored
Differential Revision: https://reviews.llvm.org/D114169
-
Simon Moll authored
Update the reference publication for the SyncDependenceAnalysis and Divergence Analysis. Fix phrasing, formatting. Add comments on reducible loop limitation. Reviewed By: sameerds Differential Revision: https://reviews.llvm.org/D114146
-
Roman Lebedev authored
Apparently my methodology was suboptimal, and not only did miss all the +VL tuples, i also missed some plain tuples. I believe, this adds everything missing. Indeed, these manual costmodels are just not okay long-term. Reviewed By: RKSimon Differential Revision: https://reviews.llvm.org/D114334
-
Roman Lebedev authored
Much like the VPMOVM2[BW] / VPMOV[BW]2M from AVX512BW, these either sign-extent the mask register into a vector, or pack the mask from vector register. Apparently, we didn't even have MCA tests for these, added in rG2f364f6f, so i'm just guessing that their perf characteristics are optimal. Reviewed By: RKSimon Differential Revision: https://reviews.llvm.org/D114314
-
Nicolas Vasilache authored
This is required to allow python to work with lowerings that use inline_asm. Differential Revision: https://reviews.llvm.org/D114338
-
Tobias Gysi authored
Add a pattern to apply the new tile and fuse on tensors method. Integrate the pattern into the CodegenStrategy and use the CodegenStrategy to implement the tests. Depends On D114012 Reviewed By: nicolasvasilache Differential Revision: https://reviews.llvm.org/D114067
-
Diego Caballero authored
This patch fixes PR52111. The problem is that LV propagates poison-generating flags (`nuw`/`nsw`, `exact` and `inbounds`) in instructions that contribute to the address computation of widen loads/stores that are guarded by a condition. It may happen that when the code is vectorized and the control flow within the loop is linearized, these flags may lead to generating a poison value that is effectively used as the base address of the widen load/store. The fix drops all the integer poison-generating flags from instructions that contribute to the address computation of a widen load/store whose original instruction was in a basic block that needed predication and is not predicated after vectorization. Reviewed By: fhahn, spatel, nlopes Differential Revision: https://reviews.llvm.org/D111846
-
Nicolas Vasilache authored
Differential Revision: https://reviews.llvm.org/D113933
-
Tobias Gysi authored
Tile and fuse failed if the outermost tile loop is a reduction dimension. Add the necessary check to handle outermost reductions and introduce a test case to verify the change. Reviewed By: nicolasvasilache Differential Revision: https://reviews.llvm.org/D114012
-
Nicolas Vasilache authored
This revision follows up on the conversation titled: ```[llvm-dev] Understanding and controlling some of the AVX shuffle emission paths``` The revision adds a vblendps-based implementation for transpose8x8 and further distinguishes between and intrinsics and an inline_asm implementation. This results in roughly 20% fewer cycles as reported by llvm-mca: After this revision (intrinsic version, resolves to virtually identical assembly as per the llvm-dev discussion, no vblendps instruction is emitted): ``` Iterations: 100 Instructions: 5900 Total Cycles: 2415 Total uOps: 7300 Dispatch Width: 6 uOps Per Cycle: 3.02 IPC: 2.44 Block RThroughput: 24.0 Cycles with backend pressure increase [ 89.90% ] Throughput Bottlenecks: Resource Pressure [ 89.65% ] - SKXPort1 [ 0.04% ] - SKXPort2 [ 12.42% ] - SKXPort3 [ 12.42% ] - SKXPort5 [ 89.52% ] Data Dependencies: [ 37.06% ] - Register Dependencies [ 37.06% ] - Memory Dependencies [ 0.00% ] ``` After this revision (inline_asm version, vblendps instructions are indeed emitted): ``` Iterations: 100 Instructions: 6300 Total Cycles: 2015 Total uOps: 7700 Dispatch Width: 6 uOps Per Cycle: 3.82 IPC: 3.13 Block RThroughput: 20.0 Cycles with backend pressure increase [ 83.47% ] Throughput Bottlenecks: Resource Pressure [ 83.18% ] - SKXPort0 [ 14.49% ] - SKXPort1 [ 14.54% ] - SKXPort2 [ 19.70% ] - SKXPort3 [ 19.70% ] - SKXPort5 [ 83.03% ] - SKXPort6 [ 14.49% ] Data Dependencies: [ 39.75% ] - Register Dependencies [ 39.75% ] - Memory Dependencies [ 0.00% ] ``` An accessible copy of the conversation is available [here](https://gist.github.com/nicolasvasilache/68c7f34012584b0e00f335bcb374ede0). Reviewed By: ftynse, dcaballe Differential Revision: https://reviews.llvm.org/D114335
-
Sjoerd Meijer authored
This adds and uses look-up tables for non-loop branch probabilities, which have have probabilities directly encoded into the tables for the different condition codes. Compared to having this logic inlined in different functions, as it used to be the case, I think this is compacter and thus also easier to check/cross reference. This also adds a test for pointer heuristics that was missing. Differential Revision: https://reviews.llvm.org/D114009
-
Arjun P authored
-
Diego Caballero authored
Reviewed By: fhahn Differential Revision: https://reviews.llvm.org/D112054
-
Guillaume Chatelet authored
-
Manuel Klimek authored
1. IndexTokenSource::getNextToken cannot return nullptr; some code was still written assuming it can; make getNextToken more resilient against incorrect input and fix its call-sites. 2. Change various asserts that can happen due to user provided input to conditionals in the code.
-
Salman Javed authored
The RST docs have gone out of sync with the command-line args that the clang-tidy program actually supports.
-
Kirill Bobyrev authored
Fixes: https://github.com/clangd/clangd/issues/934 Reviewed By: sammccall Differential Revision: https://reviews.llvm.org/D114287
-
David Green authored
This teaches AArch64TargetLowering::shouldSinkOperands to sink splat shuffles to certain neon intrinsics, so that they can make use of the lane variants of the instructions that are available. Differential Revision: https://reviews.llvm.org/D112994
-
Salman Javed authored
Add commas, articles, and conjunctions where missing.
-
Chuanqi Xu authored
The form 'for co_await' is part of CoroutineTS instead of C++20. So if we detected the use of 'for co_await' in C++20, we should emit a warning at least.
-
Dmitry Vyukov authored
Add a fork test that models what happens on Mac where fork calls malloc/free inside of our atfork callbacks. Reviewed By: vitalybuka, yln Differential Revision: https://reviews.llvm.org/D114250
-
Igor Kudrin authored
The name can be easily got on-site. Differential Revision: https://reviews.llvm.org/D114228
-
wangpc authored
Add an alias of `addi [x], zero, imm` to generate pseudo instruction li, which makes assembly mush more readable. For existed tests, users can update them by running script `llvm/utils/update_llc_test_checks.py`. Reviewed By: asb Differential Revision: https://reviews.llvm.org/D112692
-
Kazu Hirata authored
-
Kazu Hirata authored
-
Roland McGrath authored
Differential Revision: https://reviews.llvm.org/D114343
-
Joe Loser authored
Differential Revision: https://reviews.llvm.org/D114328
-
LLVM GN Syncbot authored
-
Nikolas Klauser authored
Implement P1274R4 Reviewed By: Quuxplusone, Mordante, #libc Spies: jloser, lebedev.ri, mgorny, libcxx-commits, arichardson Differential Revision: https://reviews.llvm.org/D114074
-
Jacques Pienaar authored
Delete function no longer needed as all derived classes override printer.
-
Jacques Pienaar authored
Step towards removing the hard coded behavior for this trait and to instead use common interface. Differential Revision: https://reviews.llvm.org/D114208
-
Kazu Hirata authored
-
Kazu Hirata authored
-
Simon Pilgrim authored
-
Simon Pilgrim authored
-
Simon Pilgrim authored
-
Philip Reames authored
This is based on conversations with a couple of folks currently running buildbots. There's a couple pieces which didn't make it in, but this tries to cover the common themes. Differential Revision: https://reviews.llvm.org/D114325
-
- Nov 21, 2021
-
-
Arjun P authored
-
Simon Pilgrim authored
-
David Green authored
-