- Jan 02, 2023
-
-
Tobias Gysi authored
The revision introduces the LLVMImportDialectInterface to make the import of LLVM IR intrinsics extensible. It uses a dialect interface that enables external projects to provide their own conversion functions for custom intrinsics. These conversion functions can rely on the ModuleImport class to perform support tasks such as mapping LLVM values to MLIR values or for converting types between the two worlds. The implementation largely mirrors the export implementation. One major difference is the dispatch to the appropriate dialect interface, since LLVM IR intrinsics have no direct association to an MLIR dialect. The dialect interfaces thus have to publish the supported intrinsics to ensure incoming conversion calls are dispatched to the right dialect interface. The revision implements the extensible intrinsic import discussed as part of the "extensible llvm ir import" rfc: https://discourse.llvm.org/t/rfc-extensible-llvm-ir-import/67256/6 Reviewed By: ftynse Differential Revision: https://reviews.llvm.org/D140374
-
Nikita Popov authored
This has been enabled by default without issue for a while now, remove the flag.
-
Qfrost authored
Differential Revision: https://reviews.llvm.org/D139184
-
Adrian Kuegel authored
-
luxufan authored
-
Owen Pan authored
See https://reviews.llvm.org/D140543#4021209.
-
Owen Pan authored
-
Jeff Bailey authored
Differential Revision: https://reviews.llvm.org/D140825
-
Roman Lebedev authored
[DAGCombiner][X86] Fold a CONCAT_VECTORS of SHUFFLE_VECTOR and it's operand into wider SHUFFLE_VECTOR This was showing as a source of *many* regressions with more aggressive ZERO_EXTEND_VECTOR_INREG recognition.
-
Roman Lebedev authored
-
Florian Hahn authored
Adjust mergeReplicateRegions to be in line with mergeBlocksIntoPredecessors added in 36d70a6a by collecting only the valid candidates first. Also rename to mergeReplicateRegionsIntoSuccessors and add missing doc-comment. This addresses post-commit suggestions by @Ayal.
-
- Jan 01, 2023
-
-
Tom Praschan authored
Relevant issue: https://github.com/clangd/clangd/issues/177 Reviewed By: nridge Differential Revision: https://reviews.llvm.org/D137894
-
Kevin Sala authored
This patch fixes an undefined reference to llvm::Triple::Triple(llvm::Twine const&). Differential Revision: https://reviews.llvm.org/D140810
-
Ben Shi authored
The relocation 'R_AVR_LDS_STS_16' is introduced for the compact 16-bit LDS/STS instructions on AVRTiny devices. Reviewed By: MaskRay, aykevl Differential Revision: https://reviews.llvm.org/D139807
-
Fangrui Song authored
ENABLE_X86_RELAX_RELOCATIONS has defaulted to on in 2020. This workaround is not exercised for a long time.
-
Fangrui Song authored
MC default was flipped in 2016. CMake ENABLE_X86_RELAX_RELOCATIONS defaults to on in 2020 (c41a18cf). It makes sense for the CodeGenOptions::RelaxELFRelocations to match, so that most -cc1/-cc1as command lines won't have this option. This also fixes a minor issue: -fno-plt -S will now use GOT for __tls_get_addr calls, matching -fno-plt -c.
-
Fangrui Song authored
For x86-32, {clang,gcc} -fno-plt uses `call *___tls_get_addr@GOT(%reg)` instead of `call ___tls_get_addr@PLT`. GD to IE/LE relaxations need to shift the offset by one while LD to LE relaxation needs to use a different code sequence. While here, fix some comments. Fix https://github.com/llvm/llvm-project/issues/59769 Differential Revision: https://reviews.llvm.org/D140813 -
LLVM GN Syncbot authored
-
Owen Pan authored
Previously committed in 46c94e50 which was reverted in f0756e08 due to a memory bug. Closes #58949. Differential Revision: https://reviews.llvm.org/D140543
-
Markus Böck authored
-
- Dec 31, 2022
-
-
Florian Hahn authored
This reduces the size of VPlan.h and avoids future growth of the file when the graph traits are extended in future patches. Reviewed By: Ayal Differential Revision: https://reviews.llvm.org/D140500
-
Uday Bondhugula authored
Fix affine LICM pass for unknown region-holding ops. The logic was completely ignoring regions of unknown ops leading to generation of invalid IR on hoisting. Handle affine.parallel op among those with regions that are supported. Reviewed By: ftynse Differential Revision: https://reviews.llvm.org/D140738
-
Uday Bondhugula authored
The code here appears to be out of line with proper style and guidelines. Fix this.
-
Mark de Wever authored
Concepts should be supported by all supported compilers. This is probably a left over from an older version of the expected patch. Reviewed By: #libc, philnik Differential Revision: https://reviews.llvm.org/D140632
-
Jie Fu authored
This patch fixes two incorrect descriptions in TestingGuide.rst. 1. test/lit.site.cfg --> test/lit.site.cfg.py After https://reviews.llvm.org/D37838 , the `test/lit.site.cfg` had been added a .py extension. So it should be `test/lit.site.cfg.py`. 2. $(LLVM_OBJ_ROOT)/$(BuildMode)/bin --> $(LLVM_OBJ_ROOT)/bin The current build system doesn't create a $(BuildMode) directory any more. So it should be removed. Reviewed By: mehdi_amini, MaskRay Differential Revision: https://reviews.llvm.org/D140780
-
Fangrui Song authored
-
Qfrost authored
Differential Revision:https://reviews.llvm.org/D140555
-
Fangrui Song authored
r249754 (2015) added this macro (not set anywhere) for an escape hatch. This old layout has been non-working for many years (Linux arch/x86/include/asm/elf.h ELF_ET_DYN_BASE is outside the APP range): FATAL: Code 0x558547327980 is out of application range. Non-PIE build? FATAL: MemorySanitizer can not mmap the shadow memory. FATAL: Make sure to compile with -fPIE and to link with -pie. FATAL: Disabling ASLR is known to cause this error. FATAL: If running under GDB, try 'set disable-randomization off'. Non-pie doesn't work either. -
Yeting Kuo authored
The patch tries to make more vslidup nodes use tail agnostic. The idea comes from D125546 authored by Zack Chen. Reviewed By: craig.topper Differential Revision: https://reviews.llvm.org/D140669
-
Fangrui Song authored
-
Roman Lebedev authored
As per the post-commit feedback - that was not the correct precondition to avoid it here. I think we should generally start changing mentality about `freeze`, the fact that we have been conditioned to be afraid of it (or of anything in LLVM in general) is the key problem here.
-
Roman Lebedev authored
As mentioned in post-commit feedback.
-
Roman Lebedev authored
Single-element vectors are legalized by splitting, so the the memory operations would also get scalarized. While we do have some support to reconstruct scalarized loads, we clearly don't catch everything. The comment for the affected AArch64 store suggests that having two stores was the desired outcome in the first place. This was showing as a source of *many* regressions with more aggressive ZERO_EXTEND_VECTOR_INREG recognition.
-
Roman Lebedev authored
-
Roman Lebedev authored
... so any change to it does not cause 700 source files to be recompiled.
-
Roman Lebedev authored
This kind of pattern seems to come up as regressions with better ZERO_EXTEND_VECTOR_INREG recognition. For initial implementation, this is quite restricted to the minimal viable transform, otherwise there are too many regressions to be dealt with.
-
Valery N Dmitriev authored
SLP produces two gather loads (one feeds another). For the first set of scalar loads GEP indices are all constant. The result of the second load is then fed into reduction (as a seed). Differential Revision: https://reviews.llvm.org/D140785
-
Eugene Zhulenev authored
+ Replace special placeholders ($_builder, etc...) in default attribute string Reviewed By: ftynse Differential Revision: https://reviews.llvm.org/D140765
-
Roman Lebedev authored
Some of these even crash instruction selection for AVX512. This is one of the patterns that comes up as regressions with more aggressive ZERO_EXTEND_VECTOR_INREG recognition. https://godbolt.org/z/x88aqfrT5
-
Vitaly Buka authored
We can do the same with cmake on the bot. This reverts commit 8f70b848.
-